public class TransactionHandleMessageAdvice
extends org.springframework.transaction.interceptor.TransactionInterceptor
implements org.springframework.integration.handler.advice.HandleMessageAdvice
TransactionInterceptor extension with HandleMessageAdvice marker.
When this Advice is used from the request-handler-advice-chain, it is applied
to the MessageHandler.handleMessage(org.springframework.messaging.Message<?>)
(not to the
AbstractReplyProducingMessageHandler.RequestHandler.handleRequestMessage(org.springframework.messaging.Message<?>)),
therefore the entire downstream process is wrapped to the transaction.
In any other cases it is operated as a regular TransactionInterceptor.
| Constructor and Description |
|---|
TransactionHandleMessageAdvice() |
TransactionHandleMessageAdvice(org.springframework.transaction.PlatformTransactionManager ptm,
java.util.Properties attributes) |
TransactionHandleMessageAdvice(org.springframework.transaction.PlatformTransactionManager ptm,
org.springframework.transaction.interceptor.TransactionAttributeSource tas) |
invokeafterPropertiesSet, cleanupTransactionInfo, clearTransactionManagerCache, commitTransactionAfterReturning, completeTransactionAfterThrowing, createTransactionIfNecessary, currentTransactionInfo, currentTransactionStatus, determineTransactionManager, getBeanFactory, getTransactionAttributeSource, getTransactionManager, getTransactionManagerBeanName, invokeWithinTransaction, methodIdentification, prepareTransactionInfo, setBeanFactory, setTransactionAttributes, setTransactionAttributeSource, setTransactionAttributeSources, setTransactionManager, setTransactionManagerBeanNamepublic TransactionHandleMessageAdvice()
public TransactionHandleMessageAdvice(org.springframework.transaction.PlatformTransactionManager ptm,
java.util.Properties attributes)
public TransactionHandleMessageAdvice(org.springframework.transaction.PlatformTransactionManager ptm,
org.springframework.transaction.interceptor.TransactionAttributeSource tas)