public class TransactionTemplate extends Object
| Constructor and Description |
|---|
TransactionTemplate(TransactionConfig config,
ExceptionListener listener,
MuleContext context) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(TransactionCallback callback) |
protected void |
resolveTransaction(Transaction tx) |
protected void |
resumeXATransaction(Transaction tx) |
protected void |
suspendXATransaction(Transaction tx) |
public TransactionTemplate(TransactionConfig config, ExceptionListener listener, MuleContext context)
public Object execute(TransactionCallback callback) throws Exception
Exceptionprotected void resolveTransaction(Transaction tx) throws TransactionException
TransactionExceptionprotected void suspendXATransaction(Transaction tx) throws TransactionException
TransactionExceptionprotected void resumeXATransaction(Transaction tx) throws TransactionException
TransactionExceptionCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.