You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just found this (weird?) behaviour: when creating a channel after a connection.close Bunny tries to recover from a network failure thus failing and getting into a Timeout exception. Is the client supposed to behave in this way? See attached code:
require'bunny'client=Bunny.newclient.startchannel=client.create_channelchannel.default_exchange.publish"hello"client.stopclient.create_channel# Bunny tries to recover from a network failure#<Bunny::Session:0x7fd0b8152300 [email protected]:5672, vhost=/, addresses=[127.0.0.1:5672]>: Recovering from a network failure...#<Bunny::Session:0x7fd0b8152300 [email protected]:5672, vhost=/, addresses=[127.0.0.1:5672]>: Retrying connection on next host in line: 127.0.0.1:5672# Timeout::Error (Timeout::Error)
Thanks.
The text was updated successfully, but these errors were encountered:
michaelklishin
changed the title
create_channel after connection.close
create_channel on a connection intentionally closed by the user shown immediately throw an argument/illegal state exception
Mar 2, 2017
Hi,
I just found this (weird?) behaviour: when creating a channel after a connection.close Bunny tries to recover from a network failure thus failing and getting into a Timeout exception. Is the client supposed to behave in this way? See attached code:
Thanks.
The text was updated successfully, but these errors were encountered: