public enum JMSMessageType extends Enum<JMSMessageType>
| Enum Constant and Description |
|---|
BYTE |
MAP |
OBJECT |
STREAM |
TEXT
JMS message types.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
Gets JMS message type.
|
static JMSMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JMSMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JMSMessageType TEXT
public static final JMSMessageType BYTE
public static final JMSMessageType MAP
public static final JMSMessageType OBJECT
public static final JMSMessageType STREAM
public static JMSMessageType[] values()
for (JMSMessageType c : JMSMessageType.values()) System.out.println(c);
public static JMSMessageType 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 String getType()
Copyright © 2019 WSO2. All rights reserved.