public enum SettleMode extends java.lang.Enum<SettleMode>
Enum Constant and Description |
---|
ALWAYS
ALWAYS settles the message immediately without waiting for any
confirmation.
|
AT_LEAST_ONCE
AT_LEAST_ONCE settles the message with the receiver has
returned an ack.
|
EXACTLY_ONCE
EXACTLY_ONCE settles the message with the receiver has acknowledged
the message, and the sender has acknowledge receipt of the ack
(double ack.)
|
Modifier and Type | Method and Description |
---|---|
static SettleMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SettleMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SettleMode ALWAYS
public static final SettleMode AT_LEAST_ONCE
public static final SettleMode EXACTLY_ONCE
public static SettleMode[] values()
for (SettleMode c : SettleMode.values()) System.out.println(c);
public static SettleMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null