You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org> on 2010/01/06 16:09:54 UTC

[jira] Created: (QPID-2326) exchange.declare should throw a 404 - not found exception if the exchange type is unknown

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

                 Key: QPID-2326
                 URL: https://issues.apache.org/jira/browse/QPID-2326
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker, Python Test Suite
    Affects Versions: 0.6
            Reporter: Rob Godfrey


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org