Skip to content

Commit 16ff394

Browse files
author
Simon MacMullen
committed
Merge bug25588
2 parents 27d5241 + f2d8c0b commit 16ff394

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/com/rabbitmq/client/ShutdownListener.java

+3
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)