activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnaseef <>
Subject Re: Testing against ActiveMQ with JMeter: how to set JMSPriority and JMSExpiration, values cannot be seen in Broker
Date Thu, 08 May 2014 03:11:12 GMT
As per the JMS specification, several headers, including JMSPriority, are set
on send() by the JMS provider (ActiveMQ).  This means that values specified
by clients are overwritten.

Here's the spec; see section 3.4.11, "How Message Header Values are Set":

To set the priority, the producer's setPriority() or "send(Destination
destination, Message message, int deliveryMode, int priority, long
timeToLive)" needs to be used.  I'm not sure how that can be accomplished
with JMeter.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message