public void onException(JMSException e) {
if(exceptionListener!=null && managedConnection!=null) {
try {
exceptionListener.onException(e);
} catch (Throwable ignore) {
// We can never trust user code so ignore any exceptions.
}
}
}
(that was source code from ActiveMQ project)
No comments:
Post a Comment