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

    Reestablishing Connections

    Joe Esposito Newbie

      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.