I am not clear on the JMS Exception listener, when is this actually thrown? In my piece of code :
Here , we are doing a session.rollback . And I know that when there is a problem with the connection the session is rolled back. Before we rollback the session , can we check for the connection once again if it is up, and then rollback?