java - JMS catching when a JMS server goes away -


When there is a network problem, which results in the customer being disconnected from the JMS server, there is no other way to find out Does the problem fail other than waiting until the next JMS message is being sent?

You can use the JMS connection by using the connection.sextension listener ( Exception Listener)

Exceptionist listener will get more problem information than actual disconnection, so that you may have to filter JMSException Which is given to the listener.


Comments

Popular posts from this blog

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net - getting a value of selected radiobutton in LoadViewState -