On 02/14/2017 02:32 PM, pqvchen1 wrote:
Just question further, is there a way that I can check whether the connection or session is healthy? and ready to send/receive message before I doing so? thanks again. Final question.
You can send a message, and if it throws an exception then it's not healthy.
If you use the failover option then it will attempt to reconnect if the connection goes down and your send will block until it gets a new connection or until your configured send timeout expires.
-- View this message in context: http://qpid.2158936.n2.nabble.com/JMS-How-to-verify-the-connection-is-ready-for-creating-session-tp7659153p7659167.html Sent from the Apache Qpid users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
-- Tim Bish twitter: @tabish121 blog: http://timbish.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
