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)? randomize=false&maxReconnectAttempts=10, failover://(tcp://primary:61616,tcp://secondary:61616)? randomize=false&maxReconnectAttempts=10)?randomize=false

It gives me Invalid broker url exception thrown by new URI(brokerURL). Is there any way I can achieve the above semantic? what is the syntax? Thanks

best,
Ying


--
View this message in context: 
http://www.nabble.com/failover-URI-tp20783475p20783475.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Reply via email to