Annotation Interface Acknowledgment
Configure the acknowledgement policy for the given
@Incoming
.
The set of supported acknowledgment policies depends on the method signature. The following list gives the supported
strategies for some common use cases.
Please refer to the specification for the full list.
@Incoming("channel") void method(I payload)
: Post-processing (default), Pre-processing, None@Incoming("channel") CompletionStage<?> method(I payload)
: Post-processing (default), Pre-processing, None@Incoming("in") @Outgoing("out") Message<O> method(Message<I> msg)
: Pre-processing (default), None, Manual@Incoming("in") @Outgoing("out") O method(I payload)
: Post-Processing (default), Pre-processing, None
-
Nested Class Summary
-
Required Element Summary
-
Element Details
-
value
Acknowledgment.Strategy value- Returns:
- the acknowledgement policy.
-