Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Handle failover in amqp #107

agollahareesh opened this Issue · 4 comments

5 participants

agollahareesh anthonyu Chris Wiggins momico Bryon Keck

Is there any way to connect two rabbitmq servers while connecting from node. In present version 0.1.3 it is only supporting single connection to rabbitmq server. Actually the rabbitmq is running in clustered environment, if one connection is failed iam unable to connect other rabbitmq node.

I tried by adding close listener to handle the fail condition and it worked fine for first connect and for second connect the socket is closing.


Multiple connections would be a nice feature.

Chris Wiggins

This does work if you pass in an array of hostnames for the addresses. You can also use hostPreference inside your config as well to specify preference for a specific host


It will be highly appreciated if an example of how to supply an array of hostnames, since I couldn't find an example or an explanation in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.