+++ This bug was initially created as a clone of Bug #726712 +++
Created attachment 515896 [details]
patch proposal (its description in JIRA 3377)
Description of problem:
Having a queue bound just to default exchange and sending a message with a subject to the queue results in dropping the message by the default queue.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1) qpid-config add queue testQueue
2) cd /usr/share/doc/qpid-java-0.10/examples
3) ./run_example.sh org.apache.qpid.example.Spout testQueue/someSubject
qpid-stat -e shows the default '' exchange dropped the message
The message (with subject "someSubject") should be routed to "testQueue" queue.
See JIRA 3377 for the same (https://issues.apache.org/jira/browse/QPID-3377)
Patch already proposed.
--- Additional comment from firstname.lastname@example.org on 2011-08-04 02:58:45 EDT ---
Rajith posted a patch to upstream (see the JIRA updates).
--- Additional comment from email@example.com on 2011-08-30 14:43:33 EDT ---
This is tracked in upstream via https://issues.apache.org/jira/browse/QPID-3377
Applied patch from Pavel in upstream along with a test case. Details as follows,
--- Additional comment from firstname.lastname@example.org on 2011-08-30 15:05:36 EDT ---
If back porting the above fix, the the following commit also needs to be ported in order for 1153298 to compile properly.
--- Additional comment from email@example.com on 2011-09-14 08:02:42 EDT ---
Fix was tested on:
RHEL 5.7 x86/x64
RHEL 6.1 x86/x64
changing to VERIFIED
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.