activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnaseef <...@artnaseef.com>
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":

http://download.oracle.com/otn-pub/jcp/7195-jms-1.1-fr-spec-oth-JSpec/jms-1_1-fr-spec.pdf?AuthParam=1399518519_977545569f47e0da60da93ab6d7b22f0

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: http://activemq.2283324.n4.nabble.com/Testing-against-ActiveMQ-with-JMeter-how-to-set-JMSPriority-and-JMSExpiration-values-cannot-be-seen-r-tp4680960p4680975.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message