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 FlowableOptimisticLockingException.
Author:
Daniel Meyer
  • Field Details

    • transactionManager

      protected final jakarta.transaction.TransactionManager transactionManager
  • Constructor Details

    • JtaRetryInterceptor

      public JtaRetryInterceptor(jakarta.transaction.TransactionManager transactionManager)
  • Method Details