Description of problem: Every exchange (as queue) can be declared as auto-delete. Python-qpid tools and qmf as well does not show this bit. It would be good to show it. Version-Release number of selected component (if applicable): 1.1.6 MRG set and earlier. How reproducible: 100% Steps to Reproduce: 1. declare exchange as auto-delete 2. issue qpid-config exchanges or qpid-tool<<<"show org.apache.qpid.broker:exchange" 3. No such flag is available Actual results: No exchange auto-delete flag exists. Expected results: It would be great to add such bit. Additional info:
Note that auto-delete is not implemented for exchanges. Raised in BZ 519214.
This bug is fixed upstream in revision 807712. Note that this only fixes the visibility issue by adding the flag. Since the feature is not supported, the flag will always be false.
I do not see a straightforward way how to create an exchange with auto-delete flag enabled using qpid-config. How did you do it, Frantisek? Otherwise, there is row for autoDelete property, which as Ted writes above is still not implemented for exchanges, so it should be always False. Is ensuring this on to-be-built packages and all RHEL releases enough to verify this BZ?
The creation of the auto-delete exchange can be done via qc_exchange clients. For instance: ./qc_exchange.py -e rere -t direct --exchange-auto-delete The autoDelete property should be present in new version (in contrast to MRG 1.2). We are not able to validate the feature, because broker does not implement the feature. So existence of that bit is enough.
Created attachment 390546 [details] Shell script used to reproduce/verify this bug The script does not care about repositories, they have to be enabled implicitly with enablerepo=1 in appropriate file.
Verified on mrg-candidate (RHEL5 i386 and x86_64) qpid-cpp-server-0.7.908272-1.el5 python-qpid-0.5.904641-1.el5 Reproduced on mrg-stable (RHEL5 i386 and x86_64) qpidd-0.5.752581-34.el5 python-qpid-0.5.752581-4.el5 (RHEL4 i386 and x86_64) qpidd-0.5.752581-34.el4 python-qpid-0.5.760500-6.el4 I will test RHEL4 packages as soon as they arrive in -candidate repo.
Created attachment 397845 [details] Updated reproducer/verifier script Verified as well on RHEL4 (i386, x86_64): qpid-cpp-server-0.7.916826-2.el4 qpid-tools-0.7.917557-4.el4
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: QMF did not show the auto-delete flag per exchange, though the feature is planned to be implemented later. In the exchange creating process, the flag is already one of parameters. With this update, the visibility of this not yet implemented flag is introduced.
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