Class RetryTest

  • 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 Detail

      • retryPolicy

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

      • RetryTest

        public RetryTest()
    • Method Detail

      • 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()