public static enum Acknowledgment.Strategy extends Enum<Acknowledgment.Strategy>
Enum Constant and Description |
---|
MANUAL
Acknowledgment managed by the user code.
|
NONE
No acknowledgment is performed, neither implicitly or explicitly.
|
POST_PROCESSING
Acknowledgment performed automatically once the message has been processed.
|
PRE_PROCESSING
Acknowledgment performed automatically before the processing of the message by the user code.
|
Modifier and Type | Method and Description |
---|---|
static Acknowledgment.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Acknowledgment.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Acknowledgment.Strategy MANUAL
Message
instances.public static final Acknowledgment.Strategy PRE_PROCESSING
public static final Acknowledgment.Strategy POST_PROCESSING
POST_PROCESSING
is used, the incoming message is acknowledged when the produced message is
acknowledged.
Notice that this mode is not supported for all signatures. When supported, it's the default policy.public static final Acknowledgment.Strategy NONE
public static Acknowledgment.Strategy[] values()
for (Acknowledgment.Strategy c : Acknowledgment.Strategy.values()) System.out.println(c);
public static Acknowledgment.Strategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018–2021 SmallRye. All rights reserved.