public enum ConsumerAckMode extends Enum<ConsumerAckMode> implements org.mule.jms.commons.internal.config.JmsAckMode
Session.CLIENT_ACKNOWLEDGE mode. The user must do the ack manually within the flow. | Enum Constant and Description |
|---|
IMMEDIATE
Mule automatically ACKs the message upon reception
|
MANUAL
This is JMS
Session.CLIENT_ACKNOWLEDGE mode. |
| Modifier and Type | Method and Description |
|---|---|
org.mule.jms.commons.internal.config.InternalAckMode |
getInternalAckMode() |
static ConsumerAckMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsumerAckMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsumerAckMode IMMEDIATE
public static final ConsumerAckMode MANUAL
Session.CLIENT_ACKNOWLEDGE mode. The user must do the ACK manually within the flowpublic static ConsumerAckMode[] values()
for (ConsumerAckMode c : ConsumerAckMode.values()) System.out.println(c);
public static ConsumerAckMode 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 org.mule.jms.commons.internal.config.InternalAckMode getInternalAckMode()
getInternalAckMode in interface org.mule.jms.commons.internal.config.JmsAckModeCopyright © 2019 MuleSoft, Inc.. All rights reserved.