public static enum RabbitProperties.ContainerType extends Enum<RabbitProperties.ContainerType>
| 枚举常量和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static RabbitProperties.ContainerType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RabbitProperties.ContainerType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2024. All rights reserved.