Skip to content

Commit 2092fe6

Browse files
committed
Debug log for close of publisher callback channel
1 parent 6b94b1f commit 2092fe6

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,9 @@ public Channel getDelegate() {
799799

800800
@Override
801801
public void close() throws IOException, TimeoutException {
802+
if (this.logger.isDebugEnabled()) {
803+
logger.debug("Closing " + this.delegate);
804+
}
802805
try {
803806
this.delegate.close();
804807
}

0 commit comments

Comments
 (0)