similar to circuit breaker, spring retry is a mechanism to handle for intermittent service unavailability and fallback if that has been sustained.

my code has been working well

@Recover public boolean altXX(String date){ ...... return false; } @Retryable(value = DataXXXException .class, maxAttempts = 10, backoff = @Backoff(delay = 30_000)) public boolean xxCheck(String date) throws DataXXXException { //biz logic here log.error("capturing the error", e); throw new DataXXXException ("XX Data not yet ready"); } return true; }