This repository was archived by the owner on Jun 11, 2021. It is now read-only.

Description
Hi,
while analyzing our logs and comparing them to the source code, we found some issues.
If the connection gets lost and somehow the ChannelOwner receives a Shutdown before the ConnectionOwner, the ChannelOwner asks the ConnectionOwner to create a new channel (ChannelOwner.scala:219) and becomes disconnected (ChannelOwner.scala:221). The ConnectionOwner tries to create the channel (ConnectionOwner.scala:177) which failes with an AlreadyClosedException. Due to this exception, the ConnectionOwner becomes disconnected (ConnectionOwner.scala:181), too. However, in this case it does not inform its children about the disconnect.
Shouldn't the same error handling apply in this case like on a received Shutdown message (ConnectionOwner.scala:192)?
In our case we haven't received the Shutdown on the Connection at all, otherwhise we would have seen it as unknown message logged out by the ConnectionOwner when it is in the disconnected state.
Best regards
Niko
P.S.: we use the amqp-client_2.11 in version 1.5.