FailoverException is throw to clients
-------------------------------------

                 Key: QPID-300
                 URL: https://issues.apache.org/jira/browse/QPID-300
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
            Reporter: Martin Ritchie
         Assigned To: Martin Ritchie


If an error occurs on the broker causing a connection close and failover occurs 
the start of failover is signaled by a FailoverException and this is what is 
being shown here in client code.

This is due to BlockingMethodFrameListener wrapping all exceptions in an 
AMQException. FailoverExeceptions should simply be passed.


main 2007-01-16 10:20:14,328 ERROR [apache.qpid.client.AMQSession] Error 
closing session: javax.jms.JMSException: Error closing consumer: 
org.apache.qpid.AMQException: Woken up due to exception
javax.jms.JMSException: Error closing consumer: org.apache.qpid.AMQException: 
Woken up due to exception
        at 
org.apache.qpid.client.BasicMessageConsumer.close(BasicMessageConsumer.java:406)
        at org.apache.qpid.client.AMQSession.closeConsumers(AMQSession.java:669)
        at 
org.apache.qpid.client.AMQSession.closeProducersAndConsumers(AMQSession.java:556)
        at org.apache.qpid.client.AMQSession.close(AMQSession.java:513)
        at 
org.apache.qpid.client.AMQTopicSessionAdaptor.close(AMQTopicSessionAdaptor.java:138)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to