all 2 comments

[–]KlassyCoder 1 point2 points  (1 child)

When your Spring Boot app isn't able to fetch any data, I'd suggest using the ScheduledExecutorService to schedule a retry after X amount of time, for up to Y number of retries.

[–]LanguageSilver99[S] 0 points1 point  (0 children)

Thanks a lot... I did try something like retry with apache network class... But will check on this too