Class JtaRetryInterceptor

  • All Implemented Interfaces:
    CommandInterceptor

    public class JtaRetryInterceptor
    extends RetryInterceptor
    We cannot perform a retry if we are called in an existing transaction. In that case, the transaction will be marked "rollback-only" after the first ActivitiOptimisticLockingException.
    • Field Detail

      • transactionManager

        protected final javax.transaction.TransactionManager transactionManager
    • Constructor Detail

      • JtaRetryInterceptor

        public JtaRetryInterceptor​(javax.transaction.TransactionManager transactionManager)