[rabbitmq-discuss] Client failover

241 views
Skip to first unread message

Gustavo Aquino

unread,
Apr 27, 2010, 9:34:15 AM4/27/10
to rabbitmq...@lists.rabbitmq.com
Hi Guys,

First good work in HA doc. Other AMQP solutions use solutions based on OpenAis and in my thoughts it's a good way.

Now I have one doubt have a way in RabbitMQ java or .net client to restablish one connection when it's down or redirect connection to passive server ? in other words can I configure my client with my active and passive server and this guy have the knowledge to use master or slave ?

Best Regards.

Gustavo

Joe Healy

unread,
Apr 28, 2010, 3:19:48 AM4/28/10
to Gustavo Aquino, rabbitmq...@lists.rabbitmq.com

We've configured it so that the passive server takes over the IP address that rabbitmq is listening to so whether it is running using the active or passive server clients still use the same IP address.

The document also suggests this.

I'm not sure on the behaviour of the .net or java client regarding automatically reconnecting. I think this is something you will need to manage in your application - I could be wrong though.

Hope that helps,

Joe

Jason J. W. Williams

unread,
Apr 28, 2010, 1:28:47 PM4/28/10
to Gustavo Aquino, rabbitmq...@lists.rabbitmq.com
Hi Gustavo,

You could do something like we did here for py-amqp:
http://github.com/williamsjj/py-resilient_mq

-J
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq...@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq...@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

--
You received this message because you are subscribed to the Google Groups "rabbitmq-discuss" group.
To post to this group, send email to rabbitmq...@googlegroups.com.
To unsubscribe from this group, send email to rabbitmq-discu...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rabbitmq-discuss?hl=en.

Reply all
Reply to author
Forward
0 new messages