public static enum RabbitProperties.ContainerType extends Enum<RabbitProperties.ContainerType>
| Enum Constant and Description |
|---|
DIRECT
Container where the listener is invoked directly on the RabbitMQ consumer
thread.
|
SIMPLE
Container where the RabbitMQ consumer dispatches messages to an invoker thread.
|
| Modifier and Type | Method and Description |
|---|---|
static RabbitProperties.ContainerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RabbitProperties.ContainerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RabbitProperties.ContainerType SIMPLE
public static final RabbitProperties.ContainerType DIRECT
public static RabbitProperties.ContainerType[] values()
for (RabbitProperties.ContainerType c : RabbitProperties.ContainerType.values()) System.out.println(c);
public static RabbitProperties.ContainerType 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.