activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: failover URI
Date Tue, 02 Dec 2008 06:21:55 GMT
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.
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message