Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ public void removeRecoveryListener(RecoveryListener listener) {
public void automaticallyRecover(AutorecoveringConnection connection, Connection connDelegate) throws IOException {
RecoveryAwareChannelN defunctChannel = this.delegate;
this.connection = connection;

final RecoveryAwareChannelN newChannel = (RecoveryAwareChannelN) connDelegate.createChannel(this.getChannelNumber());
if (newChannel == null)
throw new IOException("Failed to create new channel for channel number=" + this.getChannelNumber() + " during recovery");
Expand Down Expand Up @@ -736,4 +736,9 @@ void updateConsumerTag(String tag, String newTag) {
}
}

@Override
public String toString() {
return this.delegate.toString();
}

}