public static enum AQMessageProperties.DeliveryMode extends Enum<AQMessageProperties.DeliveryMode>
| Enum Constant and Description | 
|---|
BUFFERED
This message was enqueued in a non-persistent manner (buffered). 
 | 
PERSISTENT
This message was enqueued in persistent manner. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getCode()
Implementation detail (for internal use only). 
 | 
static AQMessageProperties.DeliveryMode | 
getDeliveryMode(int code)
Implementation detail (for internal use only). 
 | 
static AQMessageProperties.DeliveryMode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static AQMessageProperties.DeliveryMode[] | 
values()
Returns an array containing the constants of this enum type, in the order they are declared. 
 | 
public static final AQMessageProperties.DeliveryMode PERSISTENT
public static final AQMessageProperties.DeliveryMode BUFFERED
public static AQMessageProperties.DeliveryMode[] values()
for (AQMessageProperties.DeliveryMode c : AQMessageProperties.DeliveryMode.values())
    System.out.println(c);
public static AQMessageProperties.DeliveryMode 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.DeliveryMode getDeliveryMode(int code)