Are you saying there's no messages persisted between shutdown and re- starting? Topic messages are persisted only if there has been interest from a durable topic subscriber - which you can setup from the JMX Console or by ensuring that the durable consumers have started (it doesn't have to be continuously running) before you start sending persistent messages.

handy link: http://www.activemq.org/site/how-do-durable-queues-and- topics-work.html

and I apologize up front if I've miss-read your problem! :)

On 22 Jun 2006, at 22:24, himmeric wrote:


Hi All,

I'm trying to persist all messages between shutdown/startup of ActiveMQ. I'm using Persistent messages on topics and default xbean config. I thought I had this working and could set deleteAllMessagesOnStartup true/ false on
the broker to clear messages when I wanted a clean start.

I'm using the 4.0.1 release with the default persistence adapter.

Are there other evil forces at work here?  At one point there was a
discussion that a cleanup task would clear messages (persistent?) if there were no subscribers left to deliver to. But I need to keep messages around
for retroactive consumers.

Any pointers would be greatly appreciated.
--
View this message in context: http://www.nabble.com/Persistence- Question-Issue-t1832941.html#a5002062
Sent from the ActiveMQ - User forum at Nabble.com.


Reply via email to