activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Mielke <>
Subject Re: Configuring Network of Brokers
Date Fri, 11 Nov 2011 08:35:44 GMT

From what I know the information about a durable consumer is broadcasted along the network.

So broker A will know there is a durable consumer on Broker B. 

Regarding slow consumers: 
Broker A will happily forward all msgs to Broker B as long as Broker B does not complain.
With a slow consumer on Broker B, msgs will pile up on broker B.
Assuming producer flow control turned on on both brokers, broker B will slow down broker A
(via producer flow control) )when broker B hits any configured memory limits. From that time
on, messages pile up on broker A as well. If this continues, then broker A will eventually
hit its memory limits and slow down the real producer that is connected to broker A. 

That's my understanding from previous testings, but you may want to confirm that.

Torsten Mielke


On Nov 10, 2011, at 7:54 PM, manua wrote:

> Hi,
> I am configuring a network of broker with 2 two brokers(say brokerA and
> brokerB). The producer on brokerA publishes around 50000 message per second
> on  topicT, and those are forwarded to the brokerB as well on topicT.
> My question is, will the BrokerB act as durable consumer on BrokerA. 
> Further,If somebody makes a durable consumer on BrokerB, and if that is a
> slow consumer, will it affect the producer on BrokerA. I have constrol over
> the BrokerA, but the BrokerB will provide an interface to the public, and I
> will not have any control over the consumers to be connected on BrokerB.
> Please let me know your inputs and what will be the idle
> configuration/settings for this scenario. 
> Thanks
> Manu
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message