Class ImaPropertyID
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
FieldsModifier and TypeFieldDescriptionstatic final intThe application identifier of the originator - Stringstatic final intThe client ID of the originator of the message - Stringstatic final Stringstatic final intThe correlation ID - Stringstatic final intTo time before which the message should not be delivered - long as milliseconds since 1970-01-01T00Zstatic final intThe device identifier of the originator - Stringstatic final intThe domain of the client ID.static final intThe expiration timestamp of the message - long as milliseconds since 1970-01-01T00Zstatic final intAn identifier of the group of a message - Stringstatic final intThe sequence within a group - intstatic final intThe type string - Stringstatic final intThe message ID (commonly system generated) - Stringstatic final intAn identifier of an object associated with the messagestatic final intThe protocol which originated the message - Stringstatic final intThe queue name (this is needed if the protocol allows wildcard queues) - Stringstatic final intThe reply to queue - String destination namestatic final intThe reply to topic - String destination namestatic final intThe creation timestamp of the message - long as milliseconds since 1970-01-01T00Zstatic final intA security token authenticating this messagestatic final intThe topic name (this is needed if the protocol allows wildcard topics) - Stringstatic final intThe user ID of the originator of the message - String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
COPYRIGHT
- See Also:
-
Timestamp
public static final int TimestampThe creation timestamp of the message - long as milliseconds since 1970-01-01T00Z- See Also:
-
Expire
public static final int ExpireThe expiration timestamp of the message - long as milliseconds since 1970-01-01T00Z- See Also:
-
MsgID
public static final int MsgIDThe message ID (commonly system generated) - String- See Also:
-
CorrID
public static final int CorrIDThe correlation ID - String- See Also:
-
JMSType
public static final int JMSTypeThe type string - String- See Also:
-
ReplyToQ
public static final int ReplyToQThe reply to queue - String destination name- See Also:
-
ReplyToT
public static final int ReplyToTThe reply to topic - String destination name- See Also:
-
Topic
public static final int TopicThe topic name (this is needed if the protocol allows wildcard topics) - String- See Also:
-
DeliveryTime
public static final int DeliveryTimeTo time before which the message should not be delivered - long as milliseconds since 1970-01-01T00Z- See Also:
-
Queue
public static final int QueueThe queue name (this is needed if the protocol allows wildcard queues) - String- See Also:
-
UserID
public static final int UserIDThe user ID of the originator of the message - String- See Also:
-
ClientID
public static final int ClientIDThe client ID of the originator of the message - String- See Also:
-
Domain
public static final int DomainThe domain of the client ID. This is used to segment the topic space. - String- See Also:
-
Token
public static final int TokenA security token authenticating this message- See Also:
-
DeviceID
public static final int DeviceIDThe device identifier of the originator - String- See Also:
-
AppID
public static final int AppIDThe application identifier of the originator - String- See Also:
-
Protocol
public static final int ProtocolThe protocol which originated the message - String- See Also:
-
ObjectID
public static final int ObjectIDAn identifier of an object associated with the message- See Also:
-
GroupID
public static final int GroupIDAn identifier of the group of a message - String- See Also:
-
GroupSeq
public static final int GroupSeqThe sequence within a group - int- See Also:
-
-
Constructor Details
-
ImaPropertyID
public ImaPropertyID()
-