activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <>
Subject Re:balancing a distributed queue
Date Thu, 21 Mar 2013 01:22:55 GMT
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 <> 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
>View this message in context:
>Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message