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

[Java Broker] The default exchange is not really an exchange

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.27
    • Broker-J
    • None

    Description

      Although 0-x specifies a "no-name" default "exchange" that behaves like a direct exchange where the queues are bound to the exchange with a binding-key equal to the queues name... Given the advent of 1-0 it is perhaps more consistent to think of it as a "routing node" which will take whatever is in the routing key of the inbound transfer and use that to route to the appropriate destination (whether this be a queue or another node).

      As a first step to implementing this, we should change the implementation detail internally such that the "default exchange" is not presented in the set of "Exchanges" and doesn't implement the Exchange interface.

      For 0-x protocols we can "fake" it's existence as an exchange for operations such as exchange declare / delete / bind / unbind / query

      Attachments

        Activity

          People

            rgodfrey Robert Godfrey
            rgodfrey Robert Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: