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

exchange.declare should throw a 404 - not found exception if the exchange type is unknown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.9
    • None

    Description

      The C++ Broker returns a 503 error when an exchange is declared as being of a type which the broker does not recognize, and the python test "testTypeNotKnown" in exchange.py tests for this behaviour

      However the AMQP0-10 spec (pg 217 of the PDF) says

      Exception: exchange-type-not-found
      Error: not-found
      If the client attempts to create an exchange which the server does not recognize, an exception MUST be sent.

      not-found is error code 404

      Attachments

        Activity

          People

            gsim Gordon Sim
            rgodfrey Robert Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: