You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org> on 2010/08/13 15:13:15 UTC
[jira] Created: (QPID-2797) Add an extra boolean to 0-10 session to
indicate closing
Add an extra boolean to 0-10 session to indicate closing
--------------------------------------------------------
Key: QPID-2797
URL: https://issues.apache.org/jira/browse/QPID-2797
Project: Qpid
Issue Type: Bug
Components: Java Broker, Java Client
Affects Versions: 0.7
Reporter: Andrew Kennedy
Fix For: 0.7
Based on discussion on list the 0-10 session open now negotiates back to a timeout of 0 no matter what it is requested to use, so the expiry should be changed to be a boolean representing whether to close the session immediately instead. It was suggested that an exception code be used to signal this, however since the close mechanism must be symmetric, and there are no suitable codes available in the 0-10 protocol specification, it was decided to retain the current mechanism of sessionRequestTimeout(0)/sessionTimeout(0) sessionDetach(name)/sessionDetached(name, NORMAL) command pairs, as this is what is suggested in s.3.6.4 of the specification.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Resolved: (QPID-2797) Add an extra boolean to 0-10 session
to indicate closing
Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kennedy resolved QPID-2797.
----------------------------------
Assignee: Andrew Kennedy
Resolution: Fixed
Fixed by adding boolean indicating closed to 0-10 session
> Add an extra boolean to 0-10 session to indicate closing
> --------------------------------------------------------
>
> Key: QPID-2797
> URL: https://issues.apache.org/jira/browse/QPID-2797
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker, Java Client
> Affects Versions: 0.7
> Reporter: Andrew Kennedy
> Assignee: Andrew Kennedy
> Fix For: 0.7
>
>
> Based on discussion on list the 0-10 session open now negotiates back to a timeout of 0 no matter what it is requested to use, so the expiry should be changed to be a boolean representing whether to close the session immediately instead. It was suggested that an exception code be used to signal this, however since the close mechanism must be symmetric, and there are no suitable codes available in the 0-10 protocol specification, it was decided to retain the current mechanism of sessionRequestTimeout(0)/sessionTimeout(0) sessionDetach(name)/sessionDetached(name, NORMAL) command pairs, as this is what is suggested in s.3.6.4 of the specification.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org