Class RetryTest

java.lang.Object
org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class RetryTest extends BaseSpringContextTest 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

      public void tearDown()
    • testRetry

      public void testRetry()
    • testRetryWithRetryableExceptionInCause

      public void testRetryWithRetryableExceptionInCause()
    • testRetryWhenNoExceptionIsRaised

      public void testRetryWhenNoExceptionIsRaised()
    • testRetryWithNonRetryableException

      public void testRetryWithNonRetryableException()
    • testRetryTransactionalOperation

      public void testRetryTransactionalOperation()
    • testRetryNonTransactionalOperation

      public void testRetryNonTransactionalOperation()