Skip to content

Commit f2d8c0b

Browse files
author
Simon MacMullen
committed
Merge bug 25596
2 parents c9819ef + 6d1b455 commit f2d8c0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/com/rabbitmq/client/ShutdownListener.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
* A ShutdownListener receives information about the shutdown of connections and
2424
* channels. Note that when a connection is shut down, its associated channels are also
2525
* considered shut down and their ShutdownListeners will be notified (with the same cause).
26+
* Because of this, and the fact that channel ShutdownListeners execute in the connection's
27+
* thread, attempting to make blocking calls on a connection inside the listener will
28+
* lead to deadlock.
2629
*
2730
* @see ShutdownNotifier
2831
* @see ShutdownSignalException

0 commit comments

Comments
 (0)