You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Kennedy (JIRA)" <ji...@apache.org> on 2011/03/04 16:07:37 UTC

[jira] Commented: (QPID-2084) 0-10 code path does not appear to throw exception on consume from non-existent queue

    [ https://issues.apache.org/jira/browse/QPID-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002646#comment-13002646 ] 

Andrew Kennedy commented on QPID-2084:
--------------------------------------

This issue appears to have been res9olved by other changes made to exception handling in the 0-10 code

> 0-10 code path does not appear to throw exception on consume from non-existent queue
> ------------------------------------------------------------------------------------
>
>                 Key: QPID-2084
>                 URL: https://issues.apache.org/jira/browse/QPID-2084
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Martin Ritchie
>            Assignee: Andrew Kennedy
>             Fix For: Future
>
>
> Running the new DynamicQueueExchangeCreateTest, the test appears to throw the exception on close rather than the consume.
> ch=0 id=0 ExecutionException(errorCode=NOT_FOUND, commandId=2, classCode=7, commandCode=4, fieldIndex=0, description=not-found:
> Queue not found: DynamicQueueExchangeCreateTest-testQueueDeclare (qpid/broker/SessionAdapter.cpp:743), errorInfo={})
> org.apache.qpid.transport.SessionException: ch=0 id=0 ExecutionException(errorCode=NOT_FOUND, commandId=2, classCode=7, commandCode=4, fieldIndex=0, description=not-found: Queue not found: DynamicQueueExchangeCreateTest-testQueueDeclare (qpid/broker/SessionAdapter.cpp:743), errorInfo={})
>         at org.apache.qpid.transport.Session.sync(Session.java:701)
>         at org.apache.qpid.transport.Session.sync(Session.java:674)
>         at org.apache.qpid.client.AMQSession_0_10.sendClose(AMQSession_0_10.java:342)
>         at org.apache.qpid.client.AMQSession.close(AMQSession.java:667)
>         at org.apache.qpid.client.AMQSession.close(AMQSession.java:633)
>         at org.apache.qpid.client.AMQConnection.closeAllSessions(AMQConnection.java:1113)
>         at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:1008)
>         at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:997)
>         at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:981)
>         at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:972)
>         at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:967)
>         at org.apache.qpid.test.utils.QpidTestCase.tearDown(QpidTestCase.java:875)
>         at org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:224)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:270)

-- 
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