public class SuspendXaTransactionInterceptor<T> extends Object
| Constructor and Description |
|---|
SuspendXaTransactionInterceptor(org.mule.runtime.core.execution.ExecutionInterceptor<T> next,
TransactionConfig transactionConfig,
boolean processOnException) |
| Modifier and Type | Method and Description |
|---|---|
T |
execute(ExecutionCallback<T> callback,
ExecutionContext executionContext)
Executes the callback
|
protected void |
resumeXATransaction(Transaction tx) |
protected void |
suspendXATransaction(Transaction tx) |
public SuspendXaTransactionInterceptor(org.mule.runtime.core.execution.ExecutionInterceptor<T> next, TransactionConfig transactionConfig, boolean processOnException)
public T execute(ExecutionCallback<T> callback, ExecutionContext executionContext) throws Exception
callback - callback to executeexecutionContext - information about the current execution contextExceptionprotected void suspendXATransaction(Transaction tx) throws org.mule.runtime.api.tx.TransactionException
org.mule.runtime.api.tx.TransactionExceptionprotected void resumeXATransaction(Transaction tx) throws org.mule.runtime.api.tx.TransactionException
org.mule.runtime.api.tx.TransactionExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.