public enum AckDecision extends java.lang.Enum<AckDecision>
| Enum Constant and Description |
|---|
ACKNOWLEDGE |
SET_REQUEUE_ON_ROLLBACK |
SET_ROLLBACK_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static AckDecision |
fromString(java.lang.String decision)
Convert from string, null safe, returns null if no match.
|
java.lang.String |
toStringValue()
Convert to string, null safe, returns null if no match.
|
static AckDecision |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AckDecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AckDecision ACKNOWLEDGE
public static final AckDecision SET_ROLLBACK_ONLY
public static final AckDecision SET_REQUEUE_ON_ROLLBACK
public static AckDecision[] values()
for (AckDecision c : AckDecision.values()) System.out.println(c);
public static AckDecision 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 nullpublic static AckDecision fromString(java.lang.String decision)
public java.lang.String toStringValue()
Copyright © 2004-2025 The Apache Software Foundation. All Rights Reserved.