[
https://issues.apache.org/jira/browse/QPID-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robbie Gemmell updated QPID-2345:
---------------------------------
Fix Version/s: Future
> Java Client not detecting cause of session close from client thread
> -------------------------------------------------------------------
>
> Key: QPID-2345
> URL: https://issues.apache.org/jira/browse/QPID-2345
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.6
> Reporter: Martin Ritchie
> Fix For: Future
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]