@Test public void fiveTimesTest() throws Exception { myUserService.fiveTimes(); }
@Override @Retryable(maxAttempts = 5, value = AopRuntimeExption.class) public void fiveTimes() { LOGGER.info("fiveTimes called!"); throw new AopRuntimeExption(); }
UserServiceImpl implements MyUserService { @Override @Retryable(maxAttempts = 5, value = AopRuntimeExption.class) public void fiveTimes() { LOGGER.info("fiveTimes called!"); throw new AopRuntimeExption(); } }
UserServiceImpl implements MyUserService { @Override @Retryable(maxAttempts = 5, value = AopRuntimeExption.class) public void fiveTimes() { LOGGER.info("fiveTimes called!"); throw new AopRuntimeExption(); } @Autowired  UserServiceImpl(OutService outService); }
UserServiceImpl implements MyUserService { @Override @Retryable(maxAttempts = 5, value = AopRuntimeExption.class) public void fiveTimes() { LOGGER.info("fiveTimes called!"); throw new AopRuntimeExption(); } @Autowired  UserServiceImpl(OutService outService); @Override @Retryable User queryUser(QueryUserCondition condition); @Override @Retryable(maxAttempts = 2) void twoTimes(); @Override @Retryable void exceptionClass(); @Override @Retryable(maxAttempts = 5, value = AopRuntimeExption.class) void fiveTimes(); }
UserServiceImpl implements MyUserService { @Override @Retryable(maxAttempts = 5, value = AopRuntimeExption.class) public void fiveTimes() { LOGGER.info("fiveTimes called!"); throw new AopRuntimeExption(); } @Autowired  UserServiceImpl(OutService outService); @Override @Retryable User queryUser(QueryUserCondition condition); @Override @Retryable(maxAttempts = 2) void twoTimes(); @Override @Retryable void exceptionClass(); @Override @Retryable(maxAttempts = 5, value = AopRuntimeExption.class) void fiveTimes();  }