This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • ActiveMQ Message Properties

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ActiveMQ Messages support the following default message properties:

Message

...

Attributes Accessed as

...

Properties:

Property Name

typeType

default valueDefault Value

descriptionDescription

JMSDestination

javax.jms.Destination

set Set by the producer

Destination used by the producer.

JMSReplyTo

javax.jms.Destination

null

user User defined.

JMSType

Stringempty

""

user User defined.

JMSDeliveryMode

int

DeliveryMode.PERSISTENT

indicator Indicator if messages should be persisted.

JMSPriority

int

4

value Value from 0-9.

JMSMessageID

String

unique

unique Unique identifier for the message.

JMSTimestamp

long

time Time the message was sent

time Time in milliseconds.

JMSCorrelationID

String

null

user User defined.

JMSExpiration

long

0

time Time in milliseconds to expire the message - . A value of 0 means never expire.

JMSRedelivered

boolean

false

true if the message is being resent to the consumer, persisted via persistJMSRedelivered

JMS Defined:

Property Name

typeType

default valueDefault Value

descriptionDescription

JMSXDeliveryCount

int

0

number Number of attempts to send the message.

JMSXGroupID

String

null

identity Identity of the message group.

JMSXGroupSeq

int

0

sequence Sequence number of the message.

JMSXProducerTXID

String

null

transaction Transaction identifier.

ActiveMQ Defined:

Property Name

typeType

default valueDefault Value

descriptionDescription

JMSActiveMQBrokerInTime

long

0

timestamp Time stamp (in milliseconds) for when the message arrived at the broker.

JMSActiveMQBrokerOutTime

long

0

timestamp Time stamp (in milliseconds) for when the message left the broker.