users@glassfish.java.net

Re: JMS not persistent messages

From: <forums_at_java.net>
Date: Mon, 31 Oct 2011 07:15:57 -0500 (CDT)

Messages sent using the non-persistent delivery mode will not be persisted
(i.e. written to disk). This is the same for any JMS provider.

To configure this, call
MessageProducer.setDeliveryMode(DeliveryMode.NON_PERSISTENT). (Note that
calling Message.setDeliveryMode will have no effect).

Nigel

 

 


--
[Message sent by forum member 'nigeldeakin']
View Post: http://forums.java.net/node/858719