Qpid
  1. Qpid
  2. QPID-2326

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Activity

        Rob Godfrey created issue -
        Gordon Sim made changes -
        Field Original Value New Value
        Assignee Gordon Sim [ gsim ]
        Gordon Sim made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Gordon Sim made changes -
        Fix Version/s 0.9 [ 12315382 ]
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development