Bug 1069757 - Can't disambiguate name for which both queue and exchange exist
Summary: Can't disambiguate name for which both queue and exchange exist
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: python-qpid
Version: 3.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: 3.0
: ---
Assignee: Gordon Sim
QA Contact: Irina Boverman
URL:
Whiteboard:
Depends On:
Blocks: 1098314
TreeView+ depends on / blocked
 
Reported: 2014-02-25 15:35 UTC by Gordon Sim
Modified: 2014-09-24 15:10 UTC (History)
5 users (show)

Fixed In Version: python-qpid-0.22-12
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1098314 (view as bug list)
Environment:
Last Closed: 2014-09-24 15:10:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-5557 0 None None None Never
Red Hat Product Errata RHEA-2014:1296 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 3.0 Release 2014-09-24 19:00:06 UTC

Description Gordon Sim 2014-02-25 15:35:05 UTC
Description of problem:

Unlike the c++ client, you can't specify the node type in the address to override which is used. The queue is always prefered, so once a queue is created with the same name as an exchange, the python qpid.messaging client is prevented from publishing to that exchange.

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

Anything up to and including qpid 0.26

How reproducible:

100%

Steps to Reproduce:
1. qpid-config add queue foo
2. qpid-config add exchange fanout foo
3. qpid-config add queue q
4. qpid-config bind foo q
(note this is the python version of spout and drain!)
5. spout 'foo; {node:{type:topic}}' a 
6. spout 'foo' b
7. drain q
8. drain foo


Actual results:

Both a and b are received from foo in step 8, step 7 returns nothing.

Expected results:

Message a is returned in step 7, message b is returned in step 8.

Additional info:

Comment 1 Gordon Sim 2014-02-25 15:37:38 UTC
Fix available upstream if required/desired: https://svn.apache.org/r1571459

Comment 4 errata-xmlrpc 2014-09-24 15:10:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-1296.html


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