public enum AckMode extends Enum<AckMode> implements JmsAckMode
Session.CLIENT_ACKNOWLEDGE mode. The user must do the ack manually within the flow.| Enum Constant and Description |
|---|
AUTO
This is JMS
Session.AUTO_ACKNOWLEDGE mode. |
DUPS_OK
Similar to AUTO, the JMS message is acknowledged automatically but in a lazy fashion which may lead to duplicates.
|
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 AckMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AckMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AckMode IMMEDIATE
public static final AckMode AUTO
Session.AUTO_ACKNOWLEDGE mode. The session automatically acknowledges the receipt when it successfully
delivered the message to a JmsConsume.consume(org.mule.jms.commons.internal.config.JmsConfig, org.mule.jms.commons.internal.connection.JmsTransactionalConnection, java.lang.String, org.mule.jms.commons.api.destination.ConsumerType, org.mule.jms.commons.internal.config.JmsAckMode, java.lang.String, java.lang.String, java.lang.String, java.lang.Long, java.util.concurrent.TimeUnit, org.mule.runtime.extension.api.tx.OperationTransactionalAction) or JmsListener handler.public static final AckMode MANUAL
Session.CLIENT_ACKNOWLEDGE mode. The user must do the ACK manually within the flowpublic static final AckMode DUPS_OK
public static AckMode[] values()
for (AckMode c : AckMode.values()) System.out.println(c);
public static AckMode 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.