Package com.ibm.ima.plugin
Enum Class ImaMessageType
- All Implemented Interfaces:
Serializable,Comparable<ImaMessageType>,Constable
Define the type of the message body.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA message where the body is uninterpreted bytesA JMS BytesMessageA JMS MapMessageA JMS message with no bodyA JMS ObjectMessageA JMS StreamMessageA JMS TextMessageA message where the body is a JSON arrayA message where the body is a JSON objectA null retained message which will cause the retained message to be deletedA message where the body is text in UTF-8 encoding -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ImaMessageTypeReturns the enum constant of this class with the specified name.static ImaMessageType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
bytes
A message where the body is uninterpreted bytes -
text
A message where the body is text in UTF-8 encoding -
jsonObject
A message where the body is a JSON object -
jsonArray
A message where the body is a JSON array -
jmsMessage
A JMS message with no body -
jmsBytesMessage
A JMS BytesMessage -
jmsMapMessage
A JMS MapMessage -
jmsObjectMessage
A JMS ObjectMessage -
jmsStreamMessage
A JMS StreamMessage -
jmsTextMessage
A JMS TextMessage -
nullRetained
A null retained message which will cause the retained message to be deleted
-
-
Field Details
-
COPYRIGHT
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-