public static enum AbstractJmsSender.MessageType extends Enum<AbstractJmsSender.MessageType>
Enum Constant and Description |
---|
BYTEARRAY
Byte array message.
|
OBJECT
Object message.
|
STRING
String message.
|
Modifier and Type | Method and Description |
---|---|
static AbstractJmsSender.MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractJmsSender.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractJmsSender.MessageType OBJECT
ObjectMessage
public static final AbstractJmsSender.MessageType STRING
TextMessage
public static final AbstractJmsSender.MessageType BYTEARRAY
BytesMessage
public static AbstractJmsSender.MessageType[] values()
for (AbstractJmsSender.MessageType c : AbstractJmsSender.MessageType.values()) System.out.println(c);
public static AbstractJmsSender.MessageType 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 nullCopyright © 2010–2017 PerfCake Community. All rights reserved.