activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Wilson <>
Subject queue dispatchpolicy based on "consumer load"
Date Tue, 01 Apr 2014 10:55:23 GMT
According to:
queue load balancing use either the round-robin or "strict" method.

Round-robin will give the same amount of work to consumers
independent on if they are fast or slow, possibly leading to work
building up on a slow consumer even when the other consumers are 

Would it be possible to implement a queue dispatch policy that f ex
prefers to dispatch to the consumer with the least number of
unacknowledged messages, or maybe with the highest number of free 
prefetch slots?

Or is the solution to use small enough prefetch values so that the
maximum amount of queued work in any consumer is handled in a short 


View raw message