public enum ConsumerAckMode extends Enum<ConsumerAckMode>
| Enum Constant and Description |
|---|
IMMEDIATE
The message will be consumed once the message is received
|
MANUAL
The client that receives the message needs to explicitly acknowledge that the message must be
consumed
|
| Modifier and Type | Method and Description |
|---|---|
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
public 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 nullCopyright © 2025 MuleSoft, Inc.. All rights reserved.