public static enum RabbitRetryTemplateCustomizer.Target extends Enum<RabbitRetryTemplateCustomizer.Target>
RetryTemplate
.Enum Constant and Description |
---|
LISTENER
AbstractMessageListenerContainer target. |
SENDER
RabbitTemplate target. |
Modifier and Type | Method and Description |
---|---|
static RabbitRetryTemplateCustomizer.Target |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RabbitRetryTemplateCustomizer.Target[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RabbitRetryTemplateCustomizer.Target SENDER
RabbitTemplate
target.public static final RabbitRetryTemplateCustomizer.Target LISTENER
AbstractMessageListenerContainer
target.public static RabbitRetryTemplateCustomizer.Target[] values()
for (RabbitRetryTemplateCustomizer.Target c : RabbitRetryTemplateCustomizer.Target.values()) System.out.println(c);
public static RabbitRetryTemplateCustomizer.Target 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