You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Pavel Moravec (JIRA)" <ji...@apache.org> on 2014/03/07 10:35:55 UTC

[jira] [Created] (QPID-5608) [amqp1.0] delete-on-close policy do not work for producers to exchanges

Pavel Moravec created QPID-5608:
-----------------------------------

             Summary:  [amqp1.0] delete-on-close policy do not work for producers to exchanges
                 Key: QPID-5608
                 URL: https://issues.apache.org/jira/browse/QPID-5608
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.24
            Reporter: Pavel Moravec
            Assignee: Pavel Moravec
            Priority: Minor


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 "{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




--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org