Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.6
-
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