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
Exception
protected void resolveTransaction(Transaction tx) throws TransactionException
TransactionException
protected void suspendXATransaction(Transaction tx) throws TransactionException
TransactionException
protected void resumeXATransaction(Transaction tx) throws TransactionException
TransactionException
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.