activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie <ja...@mailarchiva.com>
Subject block on threshold
Date Fri, 09 Aug 2013 14:48:19 GMT
Hi All

Greetings! Does anyone have any idea on how to implement producer 
blocking in ActiveMQ when the no. of queued messages gets to a certain 
threshold? I've read about Active MQ's flow control feature, but I am 
still confused on how one would accomplish this. In short, when the 
number of messages gets to say 10,000 messages, I wish for the producers 
to block. I am using ActiveMQ in embedded mode, so any clues from an API 
perspective would be most appreciated.

Much appreciate your guidance

Thanks

Jamie


Mime
View raw message