public static enum AmqpInboundChannelAdapter.BatchMode extends Enum<AmqpInboundChannelAdapter.BatchMode>
| Enum Constant and Description |
|---|
EXTRACT_PAYLOADS
Payload is a
List<?> where each element is the converted body of the
Spring AMQP Message. |
MESSAGES
Payload is a
List<Message<?>> where each element is a message is
converted from the Spring AMQP Message. |
| Modifier and Type | Method and Description |
|---|---|
static AmqpInboundChannelAdapter.BatchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AmqpInboundChannelAdapter.BatchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AmqpInboundChannelAdapter.BatchMode MESSAGES
List<Message<?>> where each element is a message is
converted from the Spring AMQP Message.public static final AmqpInboundChannelAdapter.BatchMode EXTRACT_PAYLOADS
List<?> where each element is the converted body of the
Spring AMQP Message.public static AmqpInboundChannelAdapter.BatchMode[] values()
for (AmqpInboundChannelAdapter.BatchMode c : AmqpInboundChannelAdapter.BatchMode.values()) System.out.println(c);
public static AmqpInboundChannelAdapter.BatchMode 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 null