Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Won't Fix
-
None
-
None
-
Java client runs into a deadlock when it tries to close session when a topic operation (publish/subscribe) is not authorized.
In this situation AMQConnection (in exceptionReceived) tries to grab failover mutext and runs into a lock.
The other issue in this case is that AMQException.isHardError always returns true and hence the connection tried to close all sessions inside exceptionReceived method. I think there is something wrong here as an unauthorized operation in one session should not lead to closing all other sessions.
Java client runs into a deadlock when it tries to close session when a topic operation (publish/subscribe) is not authorized. In this situation AMQConnection (in exceptionReceived) tries to grab failover mutext and runs into a lock. The other issue in this case is that AMQException.isHardError always returns true and hence the connection tried to close all sessions inside exceptionReceived method. I think there is something wrong here as an unauthorized operation in one session should not lead to closing all other sessions.