[
https://issues.apache.org/jira/browse/QPID-547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey resolved QPID-547.
------------------------------
Resolution: Fixed
> Race condition on Session.close
> -------------------------------
>
> Key: QPID-547
> URL: https://issues.apache.org/jira/browse/QPID-547
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M1
> Reporter: Rob Godfrey
> Fix For: M2
>
>
> There is a race condition when closing a connection while the Dispatcher
> threa is running.
> The session get closed while a new message is being dispatched. This causes
> the dispatch of the message to the MessageListener to fail (for instance when
> it checks the acknowledge mode to see if it should pre- or post- acknowledge).
> Fix by preventing using synchronized blocks to prevent close() being called
> in other threads while in the dispatch process
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.