Description of problem: See bz1059784. This is the second part for producers of an exchange. The delete-on-close lifetime policy is not applied to producers when the exchange is in use. Version-Release number of selected component (if applicable): qpid-cpp-*-0.22-35 How reproducible: 100% Steps to Reproduce: qpid-send --connection-options "{protocol:'amqp1.0'}" -a "exSend;{create:always, node:{type: topic, properties:{lifetime-policy:delete-on-close}}}" -m 100000 --send-rate=1 & exSendPID=$! sleep 1 qpid-send --connection-options "{protocol:'amqp1.0'}" -a "exSend;{create:always, node:{type: topic, properties:{lifetime-policy:delete-on-close}}}" -m 100000 --send-rate=1 & sleep 1 kill $exSendPID qpid-config exchanges exSend Actual results: - not-killed qpid-send is still running - "qpid-config exchanges" shows: Type Exchange Name Attributes ============================================= topic exSend Expected results: - not-killed qpid-send should terminate after attempting to send to unkwnown exchange - there should not be such exchange Additional info:
Created attachment 871797 [details] Patch proposal
Committed to upstream as revision r1575225.
(In reply to Pavel Moravec from comment #2) > Committed to upstream as revision r1575225. .. and Chuck corrected a typo in r1575441. Thanks Chuck!
This issue has been fixed. Verified on rhel6.6 (x86_64 and i386) and rhel7 (x86_64). Packages: qpid-cpp-*-0.30-7 -> 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. https://rhn.redhat.com/errata/RHEA-2015-0805.html