@Retention(value=RUNTIME) public @interface Acknowledgment
@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,
None, Manual (default) @Incoming("in") @Outgoing("out") O method(I payload)
: Post-Processing (default), Pre-processing, NoneModifier and Type | Required Element and Description |
---|---|
Acknowledgment.Strategy |
value |
public abstract Acknowledgment.Strategy value
Copyright © 2018–2021 SmallRye. All rights reserved.