Classes in org.mule.execution that implement ExecutionTemplate |
class |
ErrorHandlingExecutionTemplate
ExecutionTemplate created by this method should be used on the beginning of the execution of a chain of
MessageProcessor that should manage exceptions. |
class |
TransactionalErrorHandlingExecutionTemplate
Creates an execution context that should be used when:
- A flow execution starts because a message was received by a MessageReceiver
- Any other entry point of execution with no parent execution context
Created a ExecutionTemplate that will:
Resolve non xa transactions created before it if the TransactionConfig action requires it
suspend-resume xa transaction created before it if the TransactionConfig action requires it
start a transaction if required by TransactionConfig action
resolve transaction if was started by this TransactionTemplate
route any exception to exception strategy if it was not already routed to it |
class |
TransactionalExecutionTemplate<T>
ExecutionTemplate created should be used on a MessageProcessor that are previously wrapper by
TransactionalErrorHandlingExecutionTemplate or ErrorHandlingExecutionTemplate
Should be used when:
An outbound endpoint is called
An outbound router is called
Any other MessageProcessor able to manage transactions is called
Instance of TransactionTemplate created by this method will:
Resolve non xa transactions created before it if the TransactionConfig action requires it
Suspend-Resume xa transaction created before it if the TransactionConfig action requires it
Start a transaction if required by TransactionConfig action
Resolve transaction if was started by this TransactionTemplate
Route any exception to exception strategy if it was not already routed to it |