Bug 996075

Summary: [AMQP 1.0] exclusive ownership not released when session ends
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matousek <pematous>
Severity: unspecified Docs Contact:
Priority: high    
Version: DevelopmentCC: esammons, iboverma, jross, pematous
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:56:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1010399    

Description Gordon Sim 2013-08-12 11:13:45 UTC
Description of problem:

If the exclusive property is set to true for a queue created on establishing an AMQP 1.0 link from it, the queue is locked by that session but is not released when the session ends. This prevents for example autodeletion if that has also been requested.

Version-Release number of selected component (if applicable):

qpid-0.22

How reproducible:

100%

Steps to Reproduce:
1. qpid-receive --connection-options {protocol:amqp1.0} --address 'q; {create: always, node:{properties:{exclusive:True, auto-delete:True}}} -t 5

Actual results:

When session ends, queue remains and remains locked by that session.

Expected results:

Queue is released when session ends which allows autodeletion to proceed.

Additional info:

Comment 1 Gordon Sim 2013-08-12 11:15:22 UTC
Fixed upstream: https://svn.apache.org/r1512283

Comment 2 Petr Matousek 2014-01-16 14:33:20 UTC
This issue has been fixed. Verified on rhel6.5 (x86_64, i386).

packages under test:
qpid-cpp-*-0.22-33

-> VERIFIED