On 8/6/07, Dziugas Baltrunas <[EMAIL PROTECTED]> wrote: > Hello, > > I want messages send by producer to the queue to be non persistent. > For this, I'm setting JMSDeliveryMode to DeliveryMode.NON_PERSISTENT. > However, this still makes the message persistent as seen via JMX. Only > calling setDeliveryMode(DeliveryMode.NON_PERSISTENT)
You set this flag on the MessageProducer in JMS - not the message -- James ------- http://macstrac.blogspot.com/