activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: how to enable persistent message store?
Date Thu, 26 Jan 2012 16:17:03 GMT
persistence is an attribute of each message, how are you sending the messages?
And you need to be sending to a queue or use durable subscriptions on a topic.

have a go with the examples, ant consumer, and producer to get started.

On 26 January 2012 12:11, alexandry <> wrote:
> Hi, i trying to figure out how to enable persistent storage at ActiveMQ.
> My configuration say  <broker xmlns=""
> brokerName="firstbroker" dataDirectory="${activemq.base}/data"
> persistent="true"> that it should be persistent.
> But in following scenario it not seems to be persistent (i am at FreeBSD)
> 1. I start ActiveMQ (/usr/local/etc/rc.d/activemq forcerestart)
> 2. now i send message to it and confirm it it sent.
> 3. restart ActiveMQ (/usr/local/etc/rc.d/activemq forcerestart)
> 4. check ActiveMQ to see if it has frame to read and it return false.
> I check the permissions on kanadb and is all seems good. But all messages
> erased after ActiveMQ restart
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


View raw message