public enum AckMode extends Enum<AckMode>
commit,
and recovery is handled automatically by rollback.
If a session is not transacted, there are four acknowledgment options:
AUTO: Mule ACKs the message only if the flow is finished successfully.
MANUAL: This is JMS Session.CLIENT_ACKNOWLEDGE mode. The user must do the ack manually within the flow.
DUPS_OK: JMS message is acked automatically but in a lazy fashion which may lead to duplicates.
NONE: Mule automatically ACKs the message upon reception.| Enum Constant and Description |
|---|
AUTO
Mule ACKs the message only if the flow is finished successfully
|
DUPS_OK
JMS message is acked automatically but in a lazy fashion which may lead to duplicates
|
MANUAL
This is JMS
Session.CLIENT_ACKNOWLEDGE mode. |
NONE
Mule automatically ACKs the message upon reception
|
TRANSACTED
Transacted Session don't have ACK
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAckMode() |
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 NONE
public static final AckMode AUTO
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 final AckMode TRANSACTED
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 int getAckMode()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.