public static enum DeadLettering.ReasonType extends Enum<DeadLettering.ReasonType>
| Enum Constant and Description |
|---|
EXPIRED
The message TTL has expired.
|
MAX_LEN
The maximum allowed queue length was exceeded.
|
REJECTED
The message was rejected with requeue parameter set to false.
|
| Modifier and Type | Field and Description |
|---|---|
String |
headerValue |
| Modifier and Type | Method and Description |
|---|---|
static DeadLettering.ReasonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeadLettering.ReasonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeadLettering.ReasonType REJECTED
public static final DeadLettering.ReasonType EXPIRED
public static final DeadLettering.ReasonType MAX_LEN
public final String headerValue
public static DeadLettering.ReasonType[] values()
for (DeadLettering.ReasonType c : DeadLettering.ReasonType.values()) System.out.println(c);
public static DeadLettering.ReasonType 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 © 2022. All rights reserved.