activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Message persistence
Date Tue, 07 Aug 2007 07:11:53 GMT
On 8/6/07, Dziugas Baltrunas <dziugas@baltrunas.lt> 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/

Mime
View raw message