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.
Steps to Reproduce:
1. declare exchange as auto-delete
2. issue qpid-config exchanges or
3. No such flag is available
No exchange auto-delete flag exists.
It would be great to add such bit.
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.
./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)
Reproduced on mrg-stable
(RHEL5 i386 and x86_64)
(RHEL4 i386 and x86_64)
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):
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.
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.