Enum Class ImaMessageType

Object
Enum<ImaMessageType>
com.ibm.ima.plugin.ImaMessageType
All Implemented Interfaces:
Serializable, Comparable<ImaMessageType>, Constable

public enum ImaMessageType extends Enum<ImaMessageType>
Define the type of the message body.
  • Enum Constant Details

    • bytes

      public static final ImaMessageType bytes
      A message where the body is uninterpreted bytes
    • text

      public static final ImaMessageType text
      A message where the body is text in UTF-8 encoding
    • jsonObject

      public static final ImaMessageType jsonObject
      A message where the body is a JSON object
    • jsonArray

      public static final ImaMessageType jsonArray
      A message where the body is a JSON array
    • jmsMessage

      public static final ImaMessageType jmsMessage
      A JMS message with no body
    • jmsBytesMessage

      public static final ImaMessageType jmsBytesMessage
      A JMS BytesMessage
    • jmsMapMessage

      public static final ImaMessageType jmsMapMessage
      A JMS MapMessage
    • jmsObjectMessage

      public static final ImaMessageType jmsObjectMessage
      A JMS ObjectMessage
    • jmsStreamMessage

      public static final ImaMessageType jmsStreamMessage
      A JMS StreamMessage
    • jmsTextMessage

      public static final ImaMessageType jmsTextMessage
      A JMS TextMessage
    • nullRetained

      public static final ImaMessageType nullRetained
      A null retained message which will cause the retained message to be deleted
  • Field Details

  • Method Details

    • values

      public static ImaMessageType[] 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

      public static ImaMessageType valueOf(String name)
      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 name
      NullPointerException - if the argument is null