public class TransactionalErrorHandlingExecutionTemplate extends Object implements ExecutionTemplate<MuleEvent>
| Modifier and Type | Method and Description |
|---|---|
static TransactionalErrorHandlingExecutionTemplate |
createMainExecutionTemplate(MuleContext muleContext,
MessagingExceptionHandler messagingExceptionHandler)
Creates a TransactionalErrorHandlingExecutionTemplate to be used as first processing template in a flow using no transaction configuration
|
static TransactionalErrorHandlingExecutionTemplate |
createMainExecutionTemplate(MuleContext muleContext,
TransactionConfig transactionConfig)
Creates a TransactionalErrorHandlingExecutionTemplate to be used as first processing template in a flow using no particular exception listener.
|
static TransactionalErrorHandlingExecutionTemplate |
createMainExecutionTemplate(MuleContext muleContext,
TransactionConfig transactionConfig,
MessagingExceptionHandler messagingExceptionHandler)
Creates a TransactionalErrorHandlingExecutionTemplate to be used as first processing template in a flow
|
static TransactionalErrorHandlingExecutionTemplate |
createScopeExecutionTemplate(MuleContext muleContext,
TransactionConfig transactionConfig,
MessagingExceptionHandler messagingExceptionHandler)
Creates a TransactionalErrorHandlingExecutionTemplate for inner scopes within a flow
|
MuleEvent |
execute(ExecutionCallback<MuleEvent> executionCallback) |
public static TransactionalErrorHandlingExecutionTemplate createMainExecutionTemplate(MuleContext muleContext, MessagingExceptionHandler messagingExceptionHandler)
muleContext - MuleContext for this applicationmessagingExceptionHandler - exception listener to use for any MessagingException thrownpublic static TransactionalErrorHandlingExecutionTemplate createMainExecutionTemplate(MuleContext muleContext, TransactionConfig transactionConfig, MessagingExceptionHandler messagingExceptionHandler)
muleContext - MuleContext for this applicationtransactionConfig - Transaction configurationmessagingExceptionHandler - Exception listener for any MessagingException thrownpublic static TransactionalErrorHandlingExecutionTemplate createMainExecutionTemplate(MuleContext muleContext, TransactionConfig transactionConfig)
muleContext - MuleContext for this applicationtransactionConfig - Transaction configurationpublic static TransactionalErrorHandlingExecutionTemplate createScopeExecutionTemplate(MuleContext muleContext, TransactionConfig transactionConfig, MessagingExceptionHandler messagingExceptionHandler)
muleContext - transactionConfig - public MuleEvent execute(ExecutionCallback<MuleEvent> executionCallback) throws Exception
execute in interface ExecutionTemplate<MuleEvent>ExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.