You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <qp...@incubator.apache.org> on 2008/01/28 14:57:37 UTC

[jira] Created: (QPID-765) exclusive and auto-delete scoped by session, not connection.

exclusive and auto-delete scoped by session, not connection.
------------------------------------------------------------

                 Key: QPID-765
                 URL: https://issues.apache.org/jira/browse/QPID-765
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker, Java Broker
            Reporter: Alan Conway


In 0-10, exclusive and auto-delete are scoped by session, not by connection. See following extract from spec:

exclusive   bit
            Exclusive queues can only be used from one session at a time. Once a session declares an exclusive
            queue, that queue cannot be used by any other session until the declaring session closes.

auto-delete bit
            If this field is set and the exclusive field is also set, then the queue MUST be deleted when the
            session closes. If this field is set and the exclusive field is not set the queue is deleted when all the
            consumers have finished using it. Last consumer can be cancelled either explicitly or because its
            session is closed. If there was no consumer ever on the queue, it won't be deleted.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (QPID-765) exclusive and auto-delete scoped by session, not connection.

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim resolved QPID-765.
-----------------------------

    Resolution: Fixed

> exclusive and auto-delete scoped by session, not connection.
> ------------------------------------------------------------
>
>                 Key: QPID-765
>                 URL: https://issues.apache.org/jira/browse/QPID-765
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, Java Broker
>            Reporter: Alan Conway
>
> In 0-10, exclusive and auto-delete are scoped by session, not by connection. See following extract from spec:
> exclusive   bit
>             Exclusive queues can only be used from one session at a time. Once a session declares an exclusive
>             queue, that queue cannot be used by any other session until the declaring session closes.
> auto-delete bit
>             If this field is set and the exclusive field is also set, then the queue MUST be deleted when the
>             session closes. If this field is set and the exclusive field is not set the queue is deleted when all the
>             consumers have finished using it. Last consumer can be cancelled either explicitly or because its
>             session is closed. If there was no consumer ever on the queue, it won't be deleted.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.