public class TransactionHandleMessageAdvice extends TransactionInterceptor implements HandleMessageAdvice
HandleMessageAdvice マーカーを使用した TransactionInterceptor 拡張。 この Advice が request-handler-advice-chain から使用される場合、(AbstractReplyProducingMessageHandler.RequestHandler.handleRequestMessage(org.springframework.messaging.Message<?>) ではなく)MessageHandler.handleMessage(org.springframework.messaging.Message<?>) に適用されるため、ダウンストリームプロセス全体がトランザクションにラップされます。
それ以外の場合は、通常の TransactionInterceptor として動作します。
TransactionAspectSupport.CoroutinesInvocationCallback, TransactionAspectSupport.InvocationCallback, TransactionAspectSupport.TransactionInfologger| コンストラクターと説明 |
|---|
TransactionHandleMessageAdvice() |
TransactionHandleMessageAdvice(TransactionManager transactionManager, PropertiesSE transactionAttributes) |
TransactionHandleMessageAdvice(TransactionManager transactionManager, TransactionAttributeSource transactionAttributeSource) |
invokeafterPropertiesSet, cleanupTransactionInfo, clearTransactionManagerCache, commitTransactionAfterReturning, completeTransactionAfterThrowing, createTransactionIfNecessary, currentTransactionInfo, currentTransactionStatus, determineTransactionManager, getBeanFactory, getTransactionAttributeSource, getTransactionManager, getTransactionManagerBeanName, invokeWithinTransaction, methodIdentification, prepareTransactionInfo, setBeanFactory, setTransactionAttributes, setTransactionAttributeSource, setTransactionAttributeSources, setTransactionManager, setTransactionManagerBeanNamecloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEinvokepublic TransactionHandleMessageAdvice()
public TransactionHandleMessageAdvice(TransactionManager transactionManager, PropertiesSE transactionAttributes)
public TransactionHandleMessageAdvice(TransactionManager transactionManager, TransactionAttributeSource transactionAttributeSource)