activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Fernandez <>
Subject Re: Automatic delete of expired messages
Date Wed, 16 Dec 2009 15:37:57 GMT

With AMQ 5.3, non-persistent messages that expire are automatically
removed/deleted from their destination. Persistent messages are moved to the

By default, the destination sweeps occur every 30 seconds. You can change
this default via the 'expireMessagesPeriod' property. 


Eric-AWL wrote:
> Hi
> I don't use persistance, I don't use transaction, I don't use
> CLIENT_ACKNOWLEDGE, only automatic aknowledge.
> I just saw in some JIRA recent exchanges that there seems to be an
> official trick that automatically delete expired messages when there is no
> consumer for a queue or a topic.
> Can someone explain me the "official" way to do this, and the ActiveMQ
> configuration to define ?
> Is the number of consumers for a destination (that can be found by
> analyzing Adivisory Messages) increased when this trick is used ?
> Thank you in advance
> Eric-AWL

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message