public enum InternalAckMode extends Enum<InternalAckMode>
commit, and recovery is handled automatically by rollback.
If a channel is not transacted, there are four acknowledgment options:
| Enum Constant and Description |
|---|
AUTO
Mule acknowledges messages once the flow was processed in case no exception has been encountered.
|
IMMEDIATE
Mule automatically ACKs the message upon reception
|
MANUAL
The acknowledge has to be manually asserted through an operation.
|
TRANSACTED
Transacted Channel don't have ACK
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isImmediateAck() |
static InternalAckMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalAckMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalAckMode IMMEDIATE
public static final InternalAckMode AUTO
public static final InternalAckMode MANUAL
public static final InternalAckMode TRANSACTED
public static InternalAckMode[] values()
for (InternalAckMode c : InternalAckMode.values()) System.out.println(c);
public static InternalAckMode 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 boolean isImmediateAck()
Copyright © 2023 MuleSoft, Inc.. All rights reserved.