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

Auto delete exchanges are not deleted automatically after the last binding is removed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.32
    • qpid-java-6.0
    • Broker-J
    • None

    Description

      The Java Broker's exchange implementation currently does not honour the exchange's auto-delete flag.

      AMQP 0-10 defines the exchange auto-delete field to have the following meaning:

      auto-delete when unused. If set, the exchange is deleted automatically when there remain no bindings between the exchange and any queue. Such an exchange will not be automatically deleted until at least one binding has been made to prevent the immediate deletion of the exchange upon creation.

      And AMQP 0-8/0-9

      Auto-deleted exchanges last until they are no longer used.

      and in the xml-doc:

      If set [Parameter exchange.declare.auto-delete] , the exchange is deleted when all queues have finished using it.

      AMQP 0-91 mentions "Auto-deleted exchanges last until they are no longer used." in the text of the spec but the auto-delete argument was removed from the exchange.declare's arguments.

      This defect prevents the client's ability to represent temporary topics as auto-delete exchange instances.

      Attachments

        Activity

          People

            rgodfrey Robert Godfrey
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: