1 Reply Latest reply on Oct 22, 2001 7:58 PM by snoopy

    Reestablishing Connections

    jespo1

      I'm glad to see the onException() is working in the current CVS build...

      Now that we can receive an exception notifying us that the topicConnection has failed, what is the recommended way to reestablish the connection?

      topicConnection.stop(); yields: Cannot disable the connection with the JMS server
      topicConnection.close(); yields: Cannot unsubscribe to this destination

      If the connection is not reestablished, our subscriber will never receive another message.

      Thanks,

      Joe

        • 1. Re: Reestablishing Connections
          snoopy

          I have posted an issue on the 14th Oct with a similar problem of reconnecting. The response I got was that it was a bug. I have raised the bug in Source Forge and am waiting for something useful to come of it.