Class ImaPropertyID

Object
com.ibm.ima.plugin.ImaPropertyID

public class ImaPropertyID extends Object
A property ID defines identifiers for header fields that are larger than one byte.

A message consists of a small number of header fields, a set of properties, and a body. Only items which are small (up to a byte) are kept in the header as this is common to all messages. Larger header fields are kept as system properties.

User properties have names, but system properties are identified by number. When a message is delivered to a client these system properties are commonly presented as protocol unique header or identifier fields and not as user properties. These system properties can also be used to hold information known only to a single protocol.

System properties can be interchanged between protocols when the meaning is similar, but if the concepts do not match should be ignored when they come from another protocol. When receiving a message the plug-in should always check that the type and value of the property are acceptable to the receiving protocol. The receiving protocol must be tolerant that any of these properties are not set.

The most common system property is ID_Topic. This is used to retain the topic name to which the message was published. This is important in cases where wildcard topic subscriptions are allowed. This is the only property used by the native MQTT protocol. The JMS native protocol uses the system topics Timestamp to DeliveryTime.

An ID must be in the range 0 to 16777216. The values 0 to 255 are reserved for common use. To define private IDs, use values in the range 256 to 16777216.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The application identifier of the originator - String
    static final int
    The client ID of the originator of the message - String
    static final String
     
    static final int
    The correlation ID - String
    static final int
    To time before which the message should not be delivered - long as milliseconds since 1970-01-01T00Z
    static final int
    The device identifier of the originator - String
    static final int
    The domain of the client ID.
    static final int
    The expiration timestamp of the message - long as milliseconds since 1970-01-01T00Z
    static final int
    An identifier of the group of a message - String
    static final int
    The sequence within a group - int
    static final int
    The type string - String
    static final int
    The message ID (commonly system generated) - String
    static final int
    An identifier of an object associated with the message
    static final int
    The protocol which originated the message - String
    static final int
    The queue name (this is needed if the protocol allows wildcard queues) - String
    static final int
    The reply to queue - String destination name
    static final int
    The reply to topic - String destination name
    static final int
    The creation timestamp of the message - long as milliseconds since 1970-01-01T00Z
    static final int
    A security token authenticating this message
    static final int
    The topic name (this is needed if the protocol allows wildcard topics) - String
    static final int
    The user ID of the originator of the message - String
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • Timestamp

      public static final int Timestamp
      The creation timestamp of the message - long as milliseconds since 1970-01-01T00Z
      See Also:
    • Expire

      public static final int Expire
      The expiration timestamp of the message - long as milliseconds since 1970-01-01T00Z
      See Also:
    • MsgID

      public static final int MsgID
      The message ID (commonly system generated) - String
      See Also:
    • CorrID

      public static final int CorrID
      The correlation ID - String
      See Also:
    • JMSType

      public static final int JMSType
      The type string - String
      See Also:
    • ReplyToQ

      public static final int ReplyToQ
      The reply to queue - String destination name
      See Also:
    • ReplyToT

      public static final int ReplyToT
      The reply to topic - String destination name
      See Also:
    • Topic

      public static final int Topic
      The topic name (this is needed if the protocol allows wildcard topics) - String
      See Also:
    • DeliveryTime

      public static final int DeliveryTime
      To time before which the message should not be delivered - long as milliseconds since 1970-01-01T00Z
      See Also:
    • Queue

      public static final int Queue
      The queue name (this is needed if the protocol allows wildcard queues) - String
      See Also:
    • UserID

      public static final int UserID
      The user ID of the originator of the message - String
      See Also:
    • ClientID

      public static final int ClientID
      The client ID of the originator of the message - String
      See Also:
    • Domain

      public static final int Domain
      The domain of the client ID. This is used to segment the topic space. - String
      See Also:
    • Token

      public static final int Token
      A security token authenticating this message
      See Also:
    • DeviceID

      public static final int DeviceID
      The device identifier of the originator - String
      See Also:
    • AppID

      public static final int AppID
      The application identifier of the originator - String
      See Also:
    • Protocol

      public static final int Protocol
      The protocol which originated the message - String
      See Also:
    • ObjectID

      public static final int ObjectID
      An identifier of an object associated with the message
      See Also:
    • GroupID

      public static final int GroupID
      An identifier of the group of a message - String
      See Also:
    • GroupSeq

      public static final int GroupSeq
      The sequence within a group - int
      See Also:
  • Constructor Details

    • ImaPropertyID

      public ImaPropertyID()