aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes JMS ExceptionListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS ExceptionListener" Watch "JMS ExceptionListener" New topic
Author

JMS ExceptionListener

Sindhu Kodoor
Ranch Hand

Joined: Sep 03, 2010
Posts: 66
Hi,

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?

Sindhu Kodoor
Ranch Hand

Joined: Sep 03, 2010
Posts: 66
Please anyone could help me out of this?
 
Don't get me started about those stupid light bulbs.
 
subject: JMS ExceptionListener