public class TransactionHandleMessageAdvice extends TransactionInterceptor implements 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.
TransactionAspectSupport.InvocationCallback, TransactionAspectSupport.TransactionInfologger| Constructor and Description |
|---|
TransactionHandleMessageAdvice() |
TransactionHandleMessageAdvice(PlatformTransactionManager ptm,
Properties attributes) |
TransactionHandleMessageAdvice(PlatformTransactionManager ptm,
TransactionAttributeSource tas) |
invokeafterPropertiesSet, cleanupTransactionInfo, clearTransactionManagerCache, commitTransactionAfterReturning, completeTransactionAfterThrowing, createTransactionIfNecessary, currentTransactionInfo, currentTransactionStatus, determineTransactionManager, getBeanFactory, getTransactionAttributeSource, getTransactionManager, getTransactionManagerBeanName, invokeWithinTransaction, methodIdentification, prepareTransactionInfo, setBeanFactory, setTransactionAttributes, setTransactionAttributeSource, setTransactionAttributeSources, setTransactionManager, setTransactionManagerBeanNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvokepublic TransactionHandleMessageAdvice()
public TransactionHandleMessageAdvice(PlatformTransactionManager ptm, Properties attributes)
public TransactionHandleMessageAdvice(PlatformTransactionManager ptm, TransactionAttributeSource tas)