Bug 1069743 - [AMQP 1.0] LinkError thrown where NotFound is expected
Summary: [AMQP 1.0] LinkError thrown where NotFound is expected
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 3.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: 3.0
: ---
Assignee: Gordon Sim
QA Contact: Ernie
Ernie
URL:
Whiteboard:
Depends On:
Blocks: 1010399
TreeView+ depends on / blocked
 
Reported: 2014-02-25 15:19 UTC by Gordon Sim
Modified: 2015-01-21 12:54 UTC (History)
5 users (show)

Fixed In Version: qpid-cpp-0.22-36
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-21 12:54:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-5584 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.