activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnaseef <...@artnaseef.com>
Subject Re: Non-persistent deliverymode not effect.
Date Wed, 23 Apr 2014 19:17:28 GMT
There is nothing obviously wrong in the posted snippets.  Is it possible to
use a debugging and put a break-point on the line of code that sends
(interestingly, that line of code is missing from the snippets given)?

Note that I believe this has no effect as the broker calls it internally: 
                objMsg.setJMSDeliveryMode(DeliveryMode.NON_PERSISTENT); 

That's as called-out in the JMS spec.  The JMS* fields are used internally
and client's changing their values has no effect.

With that said, the property on the JMS template should do the job.

Verify that either the send() call in the MessageProducer is getting passed
the NON_PERSISTENT flag, or at least that it's deliveryMode is in-fact set
to NON_PERSISTENT.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Non-persistent-deliverymode-not-effect-tp4680457p4680486.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message