public static enum JmsProperties.DeliveryMode extends Enum<JmsProperties.DeliveryMode>
Enum Constant and Description |
---|
NON_PERSISTENT
Does not require that the message be logged to stable storage.
|
PERSISTENT |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static JmsProperties.DeliveryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JmsProperties.DeliveryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JmsProperties.DeliveryMode NON_PERSISTENT
public static final JmsProperties.DeliveryMode PERSISTENT
public static JmsProperties.DeliveryMode[] values()
for (JmsProperties.DeliveryMode c : JmsProperties.DeliveryMode.values()) System.out.println(c);
public static JmsProperties.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 int getValue()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.