SpringBoot RetryTemplate Example | Java Web Service Retry Design

Pubblicato il: 25 giugno 2016
sul canale di: Philip Starritt
8,704
79

Step by step guide how you can easily implement an automated Retry and Back-off policy within your Spring Java application.

Enable your application to handle temporary failures when attempting to connect to a service or network resource. This can be done by enabling an automated retry policy that will perform the same operation that previously failed. The retry policy should have a maximum number of retries and either a dynamic back-off or incremental delay period.

I recommend each service that you retry is idempotent.

By designing for failure, you improve the stability of the application.

If you enjoyed the video, please share, comment & subscribe for more great content!

RetryTemplate: http://docs.spring.io/spring-batch/re...

Spring Retry Github: https://github.com/spring-projects/sp...

Retry Design Pattern: https://msdn.microsoft.com/en-gb/libr...

Enjoy!
Philip


In questa pagina del sito puoi guardare il video online SpringBoot RetryTemplate Example | Java Web Service Retry Design della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Philip Starritt 25 giugno 2016, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 8,704 volte e gli è piaciuto 79 spettatori. Buona visione!