public enum AckMode extends Enum<AckMode> implements AmqpAckMode
| Enum Constant and Description |
|---|
AUTO
Mule acknowledges messages once the flow was processed in case no exception has been encountered.
|
IMMEDIATE
The AMQP broker acknowledges messages once delivered.
|
MANUAL
The acknowledge has to be manually asserted through an operation.
|
| 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
public static final AckMode MANUAL
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 AmqpAckModeInternalAckMode of the current enum value.Copyright © 2023 MuleSoft, Inc.. All rights reserved.