@Retryable(retryFor = SQLException.class, maxAttempts = 2, backoff = @Backoff(delay = 100))
void retryServiceWithCustomization(String sql) throws SQLException;
I want to make retry for 5 secs first 60 mins . After 60 mins , retry should be every 30 mins.And No retry logic after 2 days. How Can I implement this use case for above code?
I have tried using delay and multiplier but not getting the logic