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 <bxstover@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.
>
>
|