You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2011/02/24 12:10:38 UTC

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

     [ https://issues.apache.org/jira/browse/QPID-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim reassigned QPID-2326:
--------------------------------

    Assignee: Gordon Sim

> 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
>            Assignee: Gordon Sim
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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