qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-2326) exchange.declare should throw a 404 - not found exception if the exchange type is unknown
Date Wed, 06 Jan 2010 15:09:54 GMT
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


Mime
View raw message