JMS defines a set of standard properties. The property names starting with the string ‘JMSX’ are reserved for standard JMS properties. The providers need not implement all the standard JMS properties and JMS clients can find the supported JMSX properties using the connection's metadata. The providers set most of the JMSX properties and the JMS clients set a couple of them. The table below explains the different JMS standard properties:
Property | Type | Set by | Description |
---|---|---|---|
JMSXUserID | String | Provider | Identifies the user who sent the message. |
JMSXAppID | String | Provider | Identifies the application that sent the message. |
JMSXDeliveryCount | int | Provider | Indicates the number of times the message has been delivered. |
JMSXGroupID | String | Client | Identifies a custom message group. |
JMSXGroupSeq | int | Client | Identifies the sequence number of the message in the current group. |
JMSXProducerTXID | String | Provider | Identifies the transaction in which the message was produced. |
JMSXConsumerTXID | String | Provider | Identifies the transaction in which the message was consumed. |
JMSXRcvTimestamp | long | Provider | Identifies the time at which the message was delivered to the client. The time is defined as the number of milliseconds since the 1st of January 1970. |