Re: [JMS]How to verify the connection is ready for creating session

2017-02-14 Thread Timothy Bish
erify-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: users-unsubscr...@qpid.apache.org For additional commands, e

Re: [JMS]How to verify the connection is ready for creating session

2017-02-14 Thread pqvchen1
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. -- View this message in context: http://qpid.2158936.n2.nabble.com/JMS-How-to-verify-the-connection-is-ready

Re: [JMS]How to verify the connection is ready for creating session

2017-02-14 Thread Timothy Bish
over time. -- View this message in context: http://qpid.2158936.n2.nabble.com/JMS-How-to-verify-the-connection-is-ready-for-creating-session-tp7659153p7659164.html Sent from the Apache Qpid users mailing list archive at Nabble.com

Re: [JMS]How to verify the connection is ready for creating session

2017-02-14 Thread Robbie Gemmell
On 14 February 2017 at 19:12, pqvchen1 wrote: > Thanks for reply. So can I just keep that connection open and not close even > after the session is done? and reuse the connection for next createSession? > Yes, though better yet just don't close the session or producer(s)/consumer(s) on it unless

Re: [JMS]How to verify the connection is ready for creating session

2017-02-14 Thread pqvchen1
Thanks for reply. So can I just keep that connection open and not close even after the session is done? and reuse the connection for next createSession? -- View this message in context: http://qpid.2158936.n2.nabble.com/JMS-How-to-verify-the-connection-is-ready-for-creating-session

Re: [JMS]How to verify the connection is ready for creating session

2017-02-14 Thread Robbie Gemmell
On 14 February 2017 at 18:14, pqvchen1 wrote: > I'm using qpid-jms-client-0.11.1.jar and try to figure out how to verify if a > connection is ready for creating session. In initial I thought to check > whether the connection is null or not and then realized that the connection > object could be no

[JMS]How to verify the connection is ready for creating session

2017-02-14 Thread pqvchen1
erify-the-connection-is-ready-for-creating-session-tp7659153.html Sent from the Apache Qpid users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: us