Serializable
, Comparable<AQMessageProperties.MessageState>
public static enum AQMessageProperties.MessageState extends Enum<AQMessageProperties.MessageState>
Enum Constant | Description |
---|---|
EXPIRED |
The message has moved to exception queue.
|
PROCESSED |
The message has been processed.
|
READY |
The message is ready to be processed.
|
WAITING |
The message delay has not yet completed.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getCode() |
Implementation detail (for internal use only).
|
static AQMessageProperties.MessageState |
getMessageState(int code) |
Implementation detail (for internal use only).
|
static AQMessageProperties.MessageState |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AQMessageProperties.MessageState[] |
values() |
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final AQMessageProperties.MessageState WAITING
public static final AQMessageProperties.MessageState READY
public static final AQMessageProperties.MessageState PROCESSED
public static final AQMessageProperties.MessageState EXPIRED
public static AQMessageProperties.MessageState[] values()
for (AQMessageProperties.MessageState c : AQMessageProperties.MessageState.values()) System.out.println(c);
public static AQMessageProperties.MessageState 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 nullpublic final int getCode()
public static final AQMessageProperties.MessageState getMessageState(int code)