public enum JmsAcknowledgeMode extends Enum<JmsAcknowledgeMode> implements AcknowledgeMode
| Enum Constant and Description |
|---|
AUTO_ACKNOWLEDGE |
CLIENT_ACKNOWLEDGE |
DUPS_OK_ACKNOWLEDGE |
| Modifier and Type | Method and Description |
|---|---|
int |
getJmsValue() |
static JmsAcknowledgeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JmsAcknowledgeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JmsAcknowledgeMode AUTO_ACKNOWLEDGE
public static final JmsAcknowledgeMode CLIENT_ACKNOWLEDGE
public static final JmsAcknowledgeMode DUPS_OK_ACKNOWLEDGE
public static JmsAcknowledgeMode[] values()
for (JmsAcknowledgeMode c : JmsAcknowledgeMode.values()) System.out.println(c);
public static JmsAcknowledgeMode 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 nullpublic int getJmsValue()
getJmsValue in interface AcknowledgeModeCopyright © 2020. All rights reserved.