Rolling Back Local Transaction in JMS

  GigaSpaces 5.X

Documentation Home
Quick Start Guide
Release Notes

Previous release

  Search Here
Searching GigaSpaces Platform 5.X Documentation

                                               

Summary: You roll back a local transaction by calling the rollback() method on the Session object.

Overview

You roll back a local transaction by calling the rollback() method on the Session object:

void rollback() throws JMSException

If the session has not been previously transacted a javax.jms.IllegalStateException is thrown.
The rolling back of a local transaction automatically starts a new one.
The closing of a transacted session (Session.close()) automatically rolls back that transaction.


Wiki Content Tree


Your Feedback Needed!

We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.

Labels

 
(None)