Class RetryTest

All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class RetryTest extends BaseSpringContextTest5 implements org.springframework.beans.factory.InitializingBean
  • Field Details

    • retryPolicy

      @Autowired public org.springframework.retry.policy.SimpleRetryPolicy retryPolicy
  • Constructor Details

    • RetryTest

      public RetryTest()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • tearDown

      @AfterEach public void tearDown()
    • testRetry

      @Test public void testRetry()
    • testRetryWithRetryableExceptionInCause

      @Test public void testRetryWithRetryableExceptionInCause()
    • testRetryWhenNoExceptionIsRaised

      @Test public void testRetryWhenNoExceptionIsRaised()
    • testRetryWithNonRetryableException

      @Test public void testRetryWithNonRetryableException()
    • testRetryTransactionalOperation

      @Test public void testRetryTransactionalOperation()
    • testRetryNonTransactionalOperation

      @Test public void testRetryNonTransactionalOperation()