Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.24
-
None
Description
Description of problem:
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):
0.24 (incl. current upstream)
How reproducible:
100%
Steps to Reproduce:
qpid-send --connection-options "
" -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 "
" -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