ActiveMQ Messages support the following default message properties:
Message attributes accessed as properties:
| Property Name | type | default value | description |
|---|
| JMSDestination | javax.jms.Destination | set by the producer | Destination used by the producer |
| JMSReplyTo | javax.jms.Destination | null | user defined |
| JMSType | String | empty | user defined |
| JMSDeliveryMode | int | DeliveryMode.PERSISTENT | indicator if messages should be persisted |
| JMSPriority | int | 4 | value from 0-9 |
| JMSMessageID | String | unique | unique identifier for the message |
| JMSTimestamp | long | time the message was sent | time in milliseconds |
| JMSCorrelationID | String | null | user defined |
| JMSExpiration | long | 0 | time in milliseconds to expire the message - 0 means never expire |
| JMSRedelivered | boolean | false | true if the message is being resent to the consumer |
JMS Defined:
| Property Name | type | default value | description |
|---|
| JMSXDeliveryCount | int | 0 | number of attempts to send the message |
| JMSXGroupID | String | null | identity of the message group |
| JMSXGroupSeq | int | 0 | sequence number of the message |
| JMSXProducerTXID | String | null | transaction identifier |
ActiveMQ Defined:
| Property Name | type | default value | description |
|---|
| JMSActiveMQBrokerInTime | long | 0 | timestamp (milliseconds) for when the message arrived at the broker |
| JMSActiveMQBrokerOutTime | long | 0 | timestamp (milliseconds) for when the message left the broker |