No, you can not rebalance the pending messages but can control the distribution 
rate.
Each broker/nodes use a oneway network connector and give the slow node a lower 
prefetchSize may help.
The consumers on the slow broker/node need a lower prefetchSize as well.


At 2013-03-21 06:17:26,ms <luckydevil...@yahoo.de> wrote:
>Hi there,
>
>I have two embedded brokers configured as a static network of brokers.
>There is one producer (overall) and each node features 4 consumers. Messages
>are getting distributed evenly over both brokers.
>Node A processes the messages a little faster than node B. So, after some
>time all 4 consumers on node A are idle whereas node B still has to process
>200K+ messages.
>Is there a way to "rebalance" the pending messages? 
>I've been playing around with duplex, prefetchSize etc. to no success so
>far.
>
>Cheers
>Michael
>
>
>
>
>--
>View this message in context: 
>http://activemq.2283324.n4.nabble.com/balancing-a-distributed-queue-tp4664989.html
>Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to