Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5608

[amqp1.0] delete-on-close policy do not work for producers to exchanges

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.24
    • 0.27
    • C++ Broker
    • 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 "

      {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

      Attachments

        Activity

          People

            pmoravec Pavel Moravec
            pmoravec Pavel Moravec
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: