activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: How to limit queue by number of messages
Date Fri, 23 Oct 2009 10:43:21 GMT
Using memory limits or store usage limits with an expiry time are your
options for queues at the moment. I think this requirement has been
mentioned before, especially for non persistent messages. An internal
consumer triggered off the queue size counter could do the necessary. What
sort of options would you require w.r.t dealing with discarded messages?
What happens in MQ when the maxdepth is reached?

Could you raise an enhancement request for this feature?

2009/10/22 Mitch Granger <>

> To be clearer, I'm looking for something like Websphere MQ's maxdepth
> property for queues.
> themitchy wrote:
>> I'm looking for a way to keep queue sizes down to a specific number.  For
>> example if a queue gets to 100000 messages I would like older message to
>> start disappearing.
>> I'm aware there are some "Pending Message Limit Strategy" options but
>> these
>> only apply to pending messages on a topic per consumer.  I'm looking for
>> something that will limit queue size specifically.


Open Source Integration

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message