public enum NackAction extends java.lang.Enum<NackAction>
| Enum Constant and Description |
|---|
Park
Park message do not resend.
|
Retry
Explicit retry the message.
|
Skip
Skip this message do not resend do not put in poison queue.
|
Stop
Stop the subscription.
|
Unknown
Client does not know what action to take, let the server decide.
|
| Modifier and Type | Method and Description |
|---|---|
static NackAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NackAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NackAction Unknown
public static final NackAction Park
public static final NackAction Retry
public static final NackAction Skip
public static final NackAction Stop
public static NackAction[] values()
for (NackAction c : NackAction.values()) System.out.println(c);
public static NackAction 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