public enum JMSAcknowledgeMode extends Enum<JMSAcknowledgeMode>
| Enum Constant and Description |
|---|
AUTO_ACKNOWLEDGE |
CLIENT_ACKNOWLEDGE |
DUPS_OK_ACKNOWLEDGE |
PER_MESSAGE_ACKNOWLEDGE
Per message acknowledgement.
|
SESSION_TRANSACTED |
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Gets acknowledge mode
|
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 SESSION_TRANSACTED
public static final JMSAcknowledgeMode AUTO_ACKNOWLEDGE
public static final JMSAcknowledgeMode CLIENT_ACKNOWLEDGE
public static final JMSAcknowledgeMode DUPS_OK_ACKNOWLEDGE
public static final JMSAcknowledgeMode PER_MESSAGE_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 getType()
Copyright © 2019 WSO2. All rights reserved.