You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Steven (JIRA)" <ji...@apache.org> on 2016/05/20 01:26:12 UTC

[jira] [Created] (QPID-7275) connection.setExceptionListener() method cannot be invoked for Qpid

Steven created QPID-7275:
----------------------------

             Summary: connection.setExceptionListener() method cannot be invoked for Qpid
                 Key: QPID-7275
                 URL: https://issues.apache.org/jira/browse/QPID-7275
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: 0.32
         Environment: Window7,jdk7
            Reporter: Steven


I want to implement Re-connection functionality for AMQP 1.0,as We all know that AMQP 1.0 protocol 's connection URL didn't support "broker-list",Hence,I want to register the method "connection.setExceptionListener"  to monitor the connection between client socket and server socket before invoking the method "connection.start" ,I try to mock the connection closed through the three following way:
1.stop the Qid server broker
2.pull out the cable
3.use the TCPViewer to close the connection manually.
none of the above method didn't invoke the method "connection.setExceptionListener"

by the way,for the client API qpid-amqp-1-0-client-0.32,If  the connection URL support brokerlist feature,That would be nice,I can implement Re-connection functionality in a nice way,Thanks in advance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org