by default the messages in activeMQ are persistent. They will use the file
data store: ActiveMq Message
Store<http://activemq.apache.org/amq-message-store.html>,
although since 5.3 it's recommended to use the
KahaDb<http://activemq.apache.org/kahadb.html>
.
Look at the pages on how to enable / configure / tune the two different file
stores.

On 18 February 2010 20:36, Dejan Bosanac <de...@nighttale.net> wrote:

> Hi,
>
> ActiveMQ persists messages by default. It only depends whether producer
> sends it as persistent or not. Take a look at this article for more info:
>
>
> http://activemq.apache.org/what-is-the-difference-between-persistent-and-non-persistent-delivery.html
>
> Also, if you're trying examples that comes with ActiveMQ, be sure to use
>
> ant producer -Ddurable=true
>
> Cheers
> --
> Dejan Bosanac - http://twitter.com/dejanb
>
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
>
>
> On Thu, Feb 18, 2010 at 12:04 PM, BenXS <bxsto...@yahoo.co.uk> wrote:
>
> >
> > I installed and started successfully Apache ActiveMQ v5.3.0.
> >
> > How do I enable now file based persistence?
> >
> > If I send a JMS message to the broker it appears in Console.
> > But after shutdown and restart (of ActiveMQ) this JMS message is not
> longer
> > available.
> >
> > Which parameter do I have to set to store all JMS messages in a file in
> > lets
> > say
> >
> > D:\jms\messstore.dat
> >
> > Ben
> > --
> > View this message in context:
> >
> http://old.nabble.com/How-to-enable-file-based-persistence---tp27637236p27637236.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
> >
>



-- 
Sebastien Rodriguez

Reply via email to