Serializable
, Comparable<AQEnqueueOptions.SequenceDeviationOption>
public static enum AQEnqueueOptions.SequenceDeviationOption extends Enum<AQEnqueueOptions.SequenceDeviationOption>
Enum Constant | Description |
---|---|
BEFORE |
The message is enqueued ahead of the message specified by setRelativeMessageId().
|
BOTTOM |
The message in enqueued at the bottom of the queue.
|
TOP |
The message is enqueued ahead of any other messages.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getCode() |
Implementation detail (for internal use only).
|
static AQEnqueueOptions.SequenceDeviationOption |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AQEnqueueOptions.SequenceDeviationOption[] |
values() |
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final AQEnqueueOptions.SequenceDeviationOption BOTTOM
public static final AQEnqueueOptions.SequenceDeviationOption BEFORE
public static final AQEnqueueOptions.SequenceDeviationOption TOP
public static AQEnqueueOptions.SequenceDeviationOption[] values()
for (AQEnqueueOptions.SequenceDeviationOption c : AQEnqueueOptions.SequenceDeviationOption.values()) System.out.println(c);
public static AQEnqueueOptions.SequenceDeviationOption 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()