public enum DeliverOrder extends Enum<DeliverOrder>
Enum Constant and Description |
---|
NONE
The message is delivered as soon as it is received.
|
PER_SENDER
The message is delivered by the order they are sent.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
preserveOrder() |
static DeliverOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliverOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliverOrder NONE
public static final DeliverOrder PER_SENDER
public static DeliverOrder[] values()
for (DeliverOrder c : DeliverOrder.values()) System.out.println(c);
public static DeliverOrder 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 abstract boolean preserveOrder()
Copyright © 2021 JBoss by Red Hat. All rights reserved.