Skip to content

Commit 70bc3d2

Browse files
committed
Debug log for close of publisher callback channel
1 parent e51bf2f commit 70bc3d2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-rabbit/src/main/java/org/springframework/amqp/rabbit/support/PublisherCallbackChannelImpl.java

+3
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,9 @@ public Channel getDelegate() {
765765

766766
@Override
767767
public void close() throws IOException, TimeoutException {
768+
if (this.logger.isDebugEnabled()) {
769+
this.logger.debug("Closing " + this.delegate);
770+
}
768771
try {
769772
this.delegate.close();
770773
}

0 commit comments

Comments
 (0)