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, persisted via persistJMSRedelivered

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

© 2004-2011 The Apache Software Foundation.
Apache ActiveMQ, ActiveMQ, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram