Bug 1069743

Summary: [AMQP 1.0] LinkError thrown where NotFound is expected
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Ernie <eallen>
Severity: low Docs Contact: Ernie <eallen>
Priority: low    
Version: 3.0CC: eallen, esammons, iboverma, jross, pematous
Target Milestone: 3.0Keywords: OtherQA
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-36 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:54:35 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 2014-02-25 15:19:07 UTC
Description of problem:

If a sender or receiver is created over AMQP 1.0 for a queue/exchange that doesn't exist (and assuming there is no matching policy either), the exception thrown is of type LinkError which is more general than the NotFound expected (and thrown if using 0-10)

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

qpid 0.26

How reproducible:
100%

Steps to Reproduce:
1. create a sender/receiver to/from a name that does not refer to an existing queue or exchange

Actual results:

a LinkError is thrown

Expected results:

a NotFound exception is thrown

Additional info:

Comment 1 Gordon Sim 2014-02-25 15:19:59 UTC
Not a blocker by any means, but a little annoying for those who care and a very low risk fix is available upstream: https://svn.apache.org/r1571688

Comment 2 Ernie 2014-03-26 17:01:36 UTC
Verified RHEL6.5 (64 and 32)
on package 0.22-36

The exception is a "Not Found"
Link detached by peer with amqp:not-found: Node not found: my_nonexist_queue