Bug 1018845

Summary: [amqp1.0] subscription queue shall not be auto-delete when using reliable link
Product: Red Hat Enterprise MRG Reporter: Petr Matousek <pematous>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matousek <pematous>
Severity: medium Docs Contact:
Priority: unspecified    
Version: DevelopmentCC: esammons, gsim, iboverma, jross
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:56:13 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 Petr Matousek 2013-10-14 14:00:04 UTC
Description of problem:

According to documentation:
"If the reliability is set to unreliable then an auto-deleted, exclusive queue is used meaning that if the client or connection fails messages may be lost. For exactly-once the queue is not set to be auto-deleted."

But the subscription queue created over amqp1.0 is marked auto-delete.

Version-Release number of selected component (if applicable):
qpid-cpp-*-0.22-19

How reproducible:
100%

Steps to Reproduce:
1. ./qc2_drain -f --connection-options "{protocol: 'amqp1.0'}" 'amq.direct;{link:{reliability:at-least-once}}'
2. qpid-config queues
3. the subscription queue is auto-delete

Actual results:
subscription queue for reliable receiving from exchange is exclusive and auto-delete

Expected results:
subscription queue for reliable receiving from exchange is exclusive, but not auto-delete

Additional info:

Comment 1 Gordon Sim 2013-10-15 13:07:20 UTC
Fixed upstream: https://svn.apache.org/r1532308

Note this also fixes https://bugzilla.redhat.com/show_bug.cgi?id=1019181

Comment 2 Petr Matousek 2013-10-22 09:42:48 UTC
This issue has been fixed. Verified on rhel6.4 (i386, x86_64).

packages used for testing:
qpid-cpp-*-0.22-20.el6