Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Later
-
0.6
-
None
Description
As exemplified by the SimpleACLTest when the broker closes the connection the client attempts to stop the current activity and remember the cause of the closure to report to the client. However, if the client is in the process of performing a operation such as session.createQueue() the closed state can be deteted before the cause has been set as a result the IllegalStateException is thrown and no cause has been set.
This was working on 0.5. However, it is possible that the new IO layer is highlighting another race condition. Or that it is not correctly setting the state to CLOSED. Which is required to be done to prompt the client threads to check for a causal exception.