activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From benj <>
Subject Re: ActiveMQ slow consumer policy
Date Wed, 19 Dec 2012 12:55:15 GMT

Thanks for the suggestion of using topicPrefetch.

Unfortunately it doesn't seem to have any effect, I still get a large queue
building up in the broker.
I also getting the following message: "Producers will be throttled to the
rate at which messages are removed from this destination"

Instead of throttling the producer, I want the broker to discard messages in
the queue so that only the last message on each topic is retained.

I'm sure this is just me not understanding how to configure activemq
So any further suggestions much appreciated...!

Thanks again,


From: gtully [via ActiveMQ]
Sent: 19 December 2012 11:53
To: benj
Subject: Re: ActiveMQ slow consumer policy

> configure a lower prefetch value for your topic consumers b/c the 
> discarding only takes place once the prefetch limit has been reached and 
> the default value is quite high. 
> so something like <policyEntry topic=">" topicPrefetch=100 ...> 

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

View raw message