Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.