public interface JmsMatsTransactionManager
The reason for this being an interface, is that the transactional aspects can be implemented through different means. Specifically, there is a direct implementation, and the intention is to also have a Spring-specific implementation.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
JmsMatsTransactionManager.JmsMatsTxContextKey
Provided to
getTransactionContext(...) when a Mats-component
fetches the TransactionContext implementation. |
static interface |
JmsMatsTransactionManager.ProcessingLambda
The lambda that is provided to the
JmsMatsTransactionManager for it to provide transactional demarcation
around. |
static interface |
JmsMatsTransactionManager.TransactionContext
Implementors shall do the transactional processing and handle any Throwable that comes out of the
JmsMatsTransactionManager.ProcessingLambda by rolling back. |
| Modifier and Type | Method and Description |
|---|---|
JmsMatsTransactionManager.TransactionContext |
getTransactionContext(JmsMatsTransactionManager.JmsMatsTxContextKey txContextKey)
Provides an implementation of
JmsMatsTransactionManager.TransactionContext. |
JmsMatsTransactionManager.TransactionContext getTransactionContext(JmsMatsTransactionManager.JmsMatsTxContextKey txContextKey)
JmsMatsTransactionManager.TransactionContext. (JMS Connection and Session handling is done by
JmsMatsJmsSessionHandler).txContextKey - for which JmsMatsStage or JmsMatsInitiator this request for JmsMatsTransactionManager.TransactionContext
is for.JmsMatsTransactionManager.TransactionContext for the supplied txContextKey.