Re: failover URI

2008-12-02 Thread Rob Davies
we can't handle composite transports within composite transports - as randomize is false, failover will walk the urls in order On 2 Dec 2008, at 13:48, yinghe0101 wrote: failover://(tcp://primary:61616,tcp://secondary:61616)? randomize=false&maxReconnectAttempts=10 will work. I tried before

Re: failover URI

2008-12-02 Thread yinghe0101
failover://(tcp://primary:61616,tcp://secondary:61616)?randomize=false&maxReconnectAttempts=10 will work. I tried before. What I intend to configure is to have a primary group of brokers and a secondary group of brokers, both group are using failover, so: failover://(failover://(tcp://primarygroup

Re: failover URI

2008-12-01 Thread Rob Davies
Try: failover://(tcp://primary:61616,tcp://secondary:61616)? randomize=false&maxReconnectAttempts=10 On 2 Dec 2008, at 00:09, yinghe0101 wrote: hi, Can I do the configure the following activemq url on the client side? failover://(failover://(tcp://primary:61616,tcp://secondary:61616)? ra

Re: Failover URI: Connection Information

2007-02-28 Thread Gaurav Hariani
Actually ... after the connection is started one can get this info using:     BrokerInfo info = ((ActiveMQConnection) connection).getBrokerInfo();     System.out.println("BrokerURL : " + info.getBrokerURL()); naga007 wrote: turn on jmx-connector and use jconsole to watch the queue statis