[rabbitmq-discuss] Good way to pause a consumer? (java)

Fox, Brian bfox at soe.ucsd.edu
Mon Mar 7 17:16:05 GMT 2011


Hi -

Is there a way to pause a consumer in the Java 2.3.1 client?  

The idea is to evenly consume messages from a queue using a distributed system of many consumers.  As it stands, I think the consumer with the best network connection will consume the most messages, which is bad if that system is CPU bound.

Any ideas on preventing this?  I tried autoAck false without any apparent effect. 

Thanks, 
Brian


More information about the rabbitmq-discuss mailing list