automatically connecting to secondary when primary fails

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

automatically connecting to secondary when primary fails

nmt999
I'm using failover url to connect to message queues

failover:(tcp://primary:61616,tcp://secondary:61616)?randomize=false

I listener how do i connect automatically to secondary when primary dies for any reason.

nmt
Reply | Threaded
Open this post in threaded view
|

Re: automatically connecting to secondary when primary fails

rajdavies

On 31 Jul 2009, at 20:48, nmt999 wrote:

>
> I'm using failover url to connect to message queues
>
> failover:(tcp://primary:61616,tcp://secondary:61616)?randomize=false
>
> I listener how do i connect automatically to secondary when primary  
> dies for
> any reason.
>
> nmt
> --
> View this message in context: http://www.nabble.com/automatically-connecting-to-secondary-when-primary-fails-tp24762123p24762123.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


if the primary fails - activemq will automatically failover for you -  
you shouldn't need to do anything

cheers,

Rob

Rob Davies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/