0

Retry Operation at specific Exception using Spring Retry

Spring-Retry allows for the re-execution of operations when an Exception is thrown. How do we limit the retries to specific exceptions only? For instance, we wouldn’t want to retry a SOAP Web Service operations (@WebMethod) that threw exceptions due to invalid values or internal errors on the remote services. However, we would want to retry those failed operations caused by connectivity or unavailability issues, e.g., no Internet connection, and “server is busy”. Continue Reading

0

Spring Boot – Validate .properties Configurations when Application Starts Up

This post demonstrates how to validate application configurations during start-up to avoid invalid values in run-time. Requirements Stuff used in this post. Java 8 (JDK) IntelliJ IDEA Ultimate 2016.3 Spring Boot 1.5.6.RELEASE Our Configurations Let’s say we have these important… Continue Reading