activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "brett.humphreys" <>
Subject Re: How to limit queue by number of messages
Date Thu, 29 Oct 2009 17:52:04 GMT

For what it is worth, I believe in 5.X message eviction strategies are not
honored by Queues.  TTM's document (listed on the AMQ website) suggests
otherwise, however empirically speaking and going throughout the code it
looks like MessageEvictionStrategies are only applicable to

Dave Stanley wrote:
> I think an EvictionStrategy might work. You can evict least recent or
> most recent messages once your queue gets to a certain size.
> Cheer's,
> /Dave

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

View raw message