You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Elliot Barlas <el...@gmail.com> on 2009/03/27 18:58:42 UTC

How to purge old messages when no consumer exists?

Non persistent messages are gradually being produced into a queue with some
TTL.  The message consumer application is down or cannot access the activemq
broker.  How do I purge expired messages?  It turns out that without a
consumer, the broker will not proactively purge expired messages
(https://issues.apache.org/activemq/browse/AMQ-1112), at least not until
version 5.3.0.  What are other folks doing to solve this problem?

Thanks.
-- 
View this message in context: http://www.nabble.com/How-to-purge-old-messages-when-no-consumer-exists--tp22745203p22745203.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: How to purge old messages when no consumer exists?

Posted by mcarter <mc...@funnelback.com>.
Hi Elliot,
I posted a reply at:

http://www.nabble.com/Expired-messages-are-not-being-removed-from-queues-tt21967682.html#a22773666

Cheers,
Michael
-- 
View this message in context: http://www.nabble.com/How-to-purge-old-messages-when-no-consumer-exists--tp22745203p22774153.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.