public enum AckMode extends Enum<AckMode>
| Enum Constant and Description |
|---|
AUTO
The framework acks
PubsubMessage after they are sent to the
channel. |
MANUAL
The framework does not ack/nack and the
AckReplyConsumer is sent back to the user. |
| Modifier and Type | Method and Description |
|---|---|
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 MANUAL
AckReplyConsumer is sent back to the user.public static final AckMode AUTO
PubsubMessage after they are sent to the
channel.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 nullCopyright © 2018 Pivotal Software, Inc.. All rights reserved.