org.mule.transport.jms
Class JmsTransaction
java.lang.Object
org.mule.transaction.AbstractTransaction
org.mule.transaction.AbstractSingleResourceTransaction
org.mule.transport.jms.JmsTransaction
- All Implemented Interfaces:
- Transaction
public class JmsTransaction
- extends AbstractSingleResourceTransaction
JmsTransaction is a wrapper for a JMS local transaction. This
object holds the JMS session and controls when the transaction is committed or
rolled back.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsTransaction
public JmsTransaction()
bindResource
public void bindResource(Object key,
Object resource)
throws TransactionException
- Specified by:
bindResource in interface Transaction- Overrides:
bindResource in class AbstractSingleResourceTransaction
- Throws:
TransactionException
doBegin
protected void doBegin()
throws TransactionException
- Specified by:
doBegin in class AbstractTransaction
- Throws:
TransactionException
doCommit
protected void doCommit()
throws TransactionException
- Specified by:
doCommit in class AbstractTransaction
- Throws:
TransactionException
doRollback
protected void doRollback()
throws TransactionException
- Specified by:
doRollback in class AbstractTransaction
- Throws:
TransactionException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.