public enum ConsumerAckMode extends Enum<ConsumerAckMode> implements 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 |
|---|---|
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 InternalAckMode getInternalAckMode()
getInternalAckMode in interface JmsAckModeInternalAckMode of the current enum value.Copyright © 2022. All rights reserved.