What is AutomaticRecoveryEnabled in Rabbitmq Client

3,045 views
Skip to first unread message

pejman

unread,
Mar 30, 2019, 6:46:45 AM3/30/19
to rabbitmq-users

I have a cluster with 2 nodes, According to Official Rabbitmq document this properties (AutomaticRecoveryEnabled ) can set true for connection failure recovery:

Network connection between clients and RabbitMQ nodes can fail. RabbitMQ .NET/C# client supports automatic recovery of connections and topology (queues, exchanges, bindings, and consumers).

and then i add list of host name in overload of CreateConnection: connectionFactory.CreateConnection(_hosts)

after that i turn off the Node A, but it give me exception and auto recovery doesnot work(it does not switch on host which is on)? please explain me if i misunderstood what does theAutomaticRecoveryEnabled do?

for the senario if one Nodes goes down for auto failover recovery i should use something like HA Proxy or there is something inside of Rabbitmq Client that can do it for me?

Luke Bakken

unread,
Mar 30, 2019, 11:03:41 AM3/30/19
to rabbitmq-users
Hello,

Please provide the following information -

* What version of the RabbitMQ .NET client are you using?
* What .NET platform are you using and on what operating system?
* What version of RabbitMQ and Erlang are you using, and on what operating system?
* What exception are you seeing when you run your code?
* Is anything logged by RabbitMQ at the time of the exception?

Thanks -
Luke

Michael Klishin

unread,
Apr 23, 2019, 10:38:33 AM4/23/19
to rabbitmq-users
[1] should be reasonably specific as to what the automatic connection recovery feature does and when.


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
MK

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages