org.mule.providers.jms
Class JmsTransaction
java.lang.Object
org.mule.transaction.AbstractTransaction
org.mule.transaction.AbstractSingleResourceTransaction
org.mule.providers.jms.JmsTransaction
- All Implemented Interfaces:
- org.mule.umo.UMOTransaction
- public class JmsTransaction
- extends org.mule.transaction.AbstractSingleResourceTransaction
JmsTransaction is a wrapper for a Jms local transaction. This
object holds the jms session and controls the when the transaction committed
or rolled back.
- Version:
- $Revision: 3167 $
- Author:
- Ross Mason, Guillaume Nodet
| Fields inherited from class org.mule.transaction.AbstractSingleResourceTransaction |
committed, key, resource, rollbackOnly, rolledBack, started |
| Fields inherited from class org.mule.transaction.AbstractTransaction |
logger |
| Fields inherited from interface org.mule.umo.UMOTransaction |
STATUS_ACTIVE, STATUS_COMMITTED, STATUS_COMMITTING, STATUS_MARKED_ROLLBACK, STATUS_NO_TRANSACTION, STATUS_PREPARED, STATUS_PREPARING, STATUS_ROLLEDBACK, STATUS_ROLLING_BACK, STATUS_UNKNOWN |
| Methods inherited from class org.mule.transaction.AbstractSingleResourceTransaction |
begin, commit, getId, getResource, getStatus, hasResource, rollback, setRollbackOnly |
| Methods inherited from class org.mule.transaction.AbstractTransaction |
isBegun, isCommitted, isRollbackOnly, isRolledBack |
| 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 org.mule.umo.TransactionException
- Throws:
org.mule.umo.TransactionException
doBegin
protected void doBegin()
throws org.mule.umo.TransactionException
- Throws:
org.mule.umo.TransactionException
doCommit
protected void doCommit()
throws org.mule.umo.TransactionException
- Throws:
org.mule.umo.TransactionException
doRollback
protected void doRollback()
throws org.mule.umo.TransactionException
- Throws:
org.mule.umo.TransactionException
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.