activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Unable to setup : Default Persistence in ActiveMQ
Date Tue, 23 Dec 2008 09:37:32 GMT
2008/12/23 Bruce Snyder <bruce.snyder@gmail.com>:
> On Mon, Dec 22, 2008 at 8:34 PM, ABHATNAGAR <bhatnagarankit@hotmail.com> wrote:
>
>> My Messages are not getting saved : when my BROKER goes down.
>
> Are you sending persistent messages? By default messages are
> non-persistent. If you want messages to be persistent you must
> explicitly enable this functionality via either the
> Message.setJMSDeliveryMode() method or the
> MessageProducer.setDeliveryMode() method. See the JMS API for more
> information:

Wrong way around - messages are persistent by default

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Mime
View raw message