activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pollotek <claudio.sant...@gmail.com>
Subject Re: Questions about Networks of brokers and fail-over scenarios
Date Thu, 15 Mar 2012 00:30:45 GMT
Thank you both for the quick responses, they were very useful and quick.

I just have one more detail to ask about. In the case where broker1 has no
consumers and broker2 has consumers, the messages are forwarded
automatically to broker2. If one consumer gets attached to broker1 the
messages get dispatched to broker2 and the one local consumer on round-robin
fashion by default.

Is round-robin considering dispatch 1 message (or batch) to each consumer
attached to broker1 and then 1 message to broker2? or messages would be
dispatched considering the same weight for all consumers no matter what
broker they're on? Meaning if there are 2 consumers on broker2 and 1 in
broker1 and broker1 gets 12 messages, 8 messages would end up going to
broker2 and 3 to the one consumer on broker1?

Thanks

Claudio

--
View this message in context: http://activemq.2283324.n4.nabble.com/Questions-about-Networks-of-brokers-and-fail-over-scenarios-tp4471141p4473581.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message