[rabbitmq-discuss] [ruby-amqp] Re: BUNNY: How can we connect to RMQ cluster
Michael Klishin
mklishin at pivotal.io
Wed Aug 20 09:28:59 BST 2014
On 20 August 2014 at 12:21:58, Loganathan Sellapa (loganathan.ms at gmail.com) wrote:
> > Bunny::TCPConnectionFailed: Could not establish TCP connection
> to …:
Bunny does not recover from initial failures, however, this is trivial to
do yourself:
begin
connect
rescue Bunny::TCPConnectionFailed => _
sleep 5
retry
end
or something like that. Can you try that? This feature is certainly pretty
simplistic at the moment but I expect things to work for recovery (which
handles failed connection attempts).
--
MK
Staff Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss
mailing list