Bug 504000 - qpid-config's altern-ex option doesn't work
Summary: qpid-config's altern-ex option doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: python-qpid
Version: 1.1.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: 1.3
: ---
Assignee: Gordon Sim
QA Contact: Frantisek Reznicek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-03 18:22 UTC by Gordon Sim
Modified: 2015-11-16 00:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Attempting to set an alternate exchange when creating an exchange using the "--altern-ex [NAME]" syntax as was detailed in the usage information, resulted in the usage information being displayed again. Using "-s-altern_ex [NAME]" resulted in the specified [NAME] argument not being used.
Clone Of:
Environment:
Last Closed: 2010-10-14 16:11:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0773 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Messaging and Grid Version 1.3 2010-10-14 15:56:44 UTC

Description Gordon Sim 2009-06-03 18:22:04 UTC
The command line option for setting an alternate exchange when creating an exchange is not handled correctly. The option as described in the usage (--altern-ex <NAME>) results in the usage statement, --altern_ex <NAME> allows declare to go ahead but doesn't use the specified argument.

See also: https://issues.apache.org/jira/browse/QPID-1890

Comment 1 Gordon Sim 2009-06-03 18:26:14 UTC
Fixed by r781498 (option is now --alternate-exchange).

To test:

qpid-config add exchange fanout dead-letter
qpid-config add exchange direct primary --alternate-exchange dead-letter
qpid-config add queue dlq
qpid-config bind dead-letter dlq
echo unrouted | ./src/tests/sender --exchange primary --send-eos 1
./src/tests/receiver --queue dlq

and the receiver should see the unrouted message.

Comment 4 Frantisek Reznicek 2010-09-23 13:00:00 UTC
The issue is resolved, qpid-config's --alternate-exchange option works as expected now.
Tested on RHEL 4.8 / 5.5 i386 / x86_64 on packages:
python-qmf-0.7.946106-13.el5
python-qpid-0.7.946106-14.el5
qmf-*0.7.946106-16.el5
qpid-cpp-*-0.7.946106-16.el5
qpid-dotnet-0.4.738274-2.el5
qpid-java-*-0.7.946106-10.el5
qpid-tools-0.7.946106-11.el5


-> VERIFIED

Comment 5 Douglas Silas 2010-10-07 15:40:38 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Attempting to set an alternate exchange when creating an exchange using the "--altern-ex [NAME]" syntax as was detailed in the usage information, resulted in the usage information being displayed again. Using "-s-altern_ex [NAME]" resulted in the specified [NAME] argument not being used.

Comment 7 errata-xmlrpc 2010-10-14 16:11:49 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0773.html


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