Bug 1024396 - [AMQP 1.0] address string "node:{type:topic}" is ignored when both queue and exchange exists
Summary: [AMQP 1.0] address string "node:{type:topic}" is ignored when both queue and ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 3.0
Hardware: All
OS: All
low
low
Target Milestone: 3.0
: ---
Assignee: Gordon Sim
QA Contact: Petr Matousek
URL:
Whiteboard:
Depends On:
Blocks: 1010399
TreeView+ depends on / blocked
 
Reported: 2013-10-29 15:05 UTC by Pavel Moravec
Modified: 2015-01-21 12:56 UTC (History)
5 users (show)

Fixed In Version: qpid-cpp-0.22-25.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-21 12:56:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


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

Description Pavel Moravec 2013-10-29 15:05:37 UTC
Description of problem:
Having a queue and exchange of the same name created, address string with ".. node:{type:topic}" is evaluated to queue every time.


Version-Release number of selected component (if applicable):
qpid-cpp-client-0.22-23.el6.x86_64


How reproducible:
100%


Steps to Reproduce:
0. service qpidd restart
1. qpid-send -a "amq.direct; {create:always, node:{type:queue}}" -m 3
2. qpid-send -a "amq.direct; {create:always, node:{type:topic}}" -m 3 --connection-options="{protocol:amqp1.0}"
3. qpid-stat -q; qpid-stat -e
4. qpid-receive -a "amq.direct; {create:always, node:{type:topic}}" -m 3 --connection-options="{protocol:amqp1.0}"
5. qpid-stat -q; qpid-stat -e


Actual results:
- step "3." shows 6 messages in queue "amq.direct" and 0 messages routed via the exchange
- step "5." shows 3 messages dequeued from the queue


Expected results:
- step "3." shows 3 messages in queue "amq.direct" and 3 messages routed (dropped) via the exchange
- step "5." shows 0 messages dequeued from the queue


Additional info:

Comment 1 Gordon Sim 2013-10-30 11:40:04 UTC
Fixed upstream: https://svn.apache.org/r1537051 (this also fixes bug 1024385).

Comment 2 Petr Matousek 2014-01-03 10:08:22 UTC
This issue has been fixed. Verified on rhel6.5 (x86_64, i386).

Note: During the verification the create policy was omitted in reproduction scenario steps 2. and 4. due to bug 1009454, comment 4.

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

-> VERIFIED


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