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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.9
    • Labels:
      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

            • Assignee:
              gsim Gordon Sim
              Reporter:
              rgodfrey Rob Godfrey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: