You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by agujral <an...@yahoo.com> on 2011/05/02 20:59:10 UTC

Sample failover transport configuration of activemq

Hi All,
         I am planning to use failover transport in activemq such that
following scenarios are covered:
a)When I specify multiple brokers activemq should be able to randomly select
one of the brokers so that I can redistribute the load.
b)Suppose I specify two brokers using failover transport incase one of the
broker is down , the producers should be able to write to the other
available broker
c)The brokers/producers should not block/hang when using failover transport
d)Suppose we are using two brokers say with names A and B , and suppose A
goes down then producers would try to connect to B and say now B goes down,
I want to minimizie the number of retries the producers do when they cannot
connect to a particular broker.

Thanks
Anurag 

--
View this message in context: http://activemq.2283324.n4.nabble.com/Sample-failover-transport-configuration-of-activemq-tp3490707p3490707.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Sample failover transport configuration of activemq

Posted by agujral <an...@yahoo.com>.
Hi ,
     Thanks for the reply. I understand that the values of the parameters
mentioned in http://activemq.apache.org/failover-transport-reference.html
varies from application to application 
but can someone send me a sample configuration file which covers all the
scenarios I mentioned in my first comment.
Thanks
Anurag

--
View this message in context: http://activemq.2283324.n4.nabble.com/Sample-failover-transport-configuration-of-activemq-tp3490707p3490875.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Sample failover transport configuration of activemq

Posted by Johan Edstrom <se...@gmail.com>.
http://activemq.apache.org/failover-transport-reference.html

On May 2, 2011, at 12:59 PM, agujral wrote:

> Hi All,
>         I am planning to use failover transport in activemq such that
> following scenarios are covered:
> a)When I specify multiple brokers activemq should be able to randomly select
> one of the brokers so that I can redistribute the load.
> b)Suppose I specify two brokers using failover transport incase one of the
> broker is down , the producers should be able to write to the other
> available broker
> c)The brokers/producers should not block/hang when using failover transport
> d)Suppose we are using two brokers say with names A and B , and suppose A
> goes down then producers would try to connect to B and say now B goes down,
> I want to minimizie the number of retries the producers do when they cannot
> connect to a particular broker.
> 
> Thanks
> Anurag 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Sample-failover-transport-configuration-of-activemq-tp3490707p3490707.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.