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
             Fix For: 0.6


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.
-
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:[email protected]

Reply via email to