Class Summary |
ErrorHandlingExecutionTemplate |
ExecutionTemplate created by this method should be used on the beginning of the execution of a chain of
MessageProcessor that should manage exceptions. |
ExceptionToMessagingExceptionExecutionInterceptor |
Replace any exception thrown with a MessagingException |
IsolateCurrentTransactionInterceptor<T> |
|
MessageProcessorExecutionTemplate |
Template for executing a MessageProcessor. |
SuspendXaTransactionInterceptor<T> |
|
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 |
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 |