Tagged articles
spring retry
18 articles · Page 1 of 1
This article explores the growing importance of retry mechanisms in distributed Spring Boot 3 applications, presenting five practical retry components—Spring‑Retry, Resilience4j‑Retry, Fast‑Retry, Easy‑Retry, and Guava‑Retrying—along with custom annotation examples, configuration details, code snippets, and execution results.
Easy RetryGuavaResilience4j
0 likes · 13 min read

This article explains how to integrate Spring Retry into a Spring Boot project to gracefully handle third‑party API failures, covering annotation‑based retries, asynchronous retries, exception filtering, fallback handling, and an optional Hystrix circuit‑breaker extension for comprehensive fault tolerance.
Circuit BreakerHystrixJava
0 likes · 12 min read

This guide shows how to add a retry mechanism to Spring Boot applications using Spring Retry, covering dependency setup, enabling @EnableRetry, defining @Retryable with custom back‑off settings, handling failures with @Recover, writing unit tests, and observing behavior with different retry counts and exception filters.
@EnableRetry@RetryableJava
0 likes · 6 min read

This tutorial explains how to use Spring Retry in a SpringBoot 2.7 application, covering both annotation‑based @Retryable usage and programmatic RetryTemplate configuration, with complete code examples, listener implementation, and execution results.
@RetryableJavaSpringBoot
0 likes · 9 min read


LouZaiJan 22, 2024 · Backend Development
This article compares eight ways to implement retry logic for remote API calls—including simple loops, recursion, Apache HttpClient settings, Spring Retry, Resilience4j, a custom utility, thread‑pool asynchronous retries, and message‑queue based retries—while outlining best‑practice guidelines such as idempotency, retry limits, and concurrency control.
ConcurrencyHTTP ClientJava
0 likes · 17 min read

This article explains why retry mechanisms are essential for unstable third‑party API calls, introduces Spring Retry, demonstrates how to configure synchronous and asynchronous retries, handle exception inclusion/exclusion, integrate circuit‑breaker fallback with Hystrix, and provides performance testing guidance, all with practical code examples.
Circuit BreakerHystrixJava
0 likes · 8 min read

This article explains how to implement reliable retry mechanisms in Java applications using Spring‑Retry and Guava‑Retry, covering Maven dependencies, template‑based and annotation‑based configurations, policy and back‑off options, code examples, test results, and a practical comparison of both frameworks.
Guava RetryJavaRetry Framework
0 likes · 17 min read

This article explains how to handle common failure scenarios in Spring Boot by using the spring-retry library, detailing the @Retryable and @Recover annotations, their parameters, configuration steps, code examples, and important considerations for building resilient backend services.
AnnotationsJavaRetry
0 likes · 7 min read

This guide explains how to use Spring Retry’s @Retryable and @Recover annotations in Spring Boot, covering dependency setup, enabling retries, annotating methods, configuring backoff policies, handling exhausted retries, and important precautions for reliable backend retry mechanisms.
@RetryableJavaRetry Logic
0 likes · 7 min read

This article explains how to create a custom @FeignRetry annotation that leverages Spring Retry to provide configurable, per‑method retry policies for Feign client calls, including code examples of the annotation, aspect implementation, and usage patterns.
AOPAnnotationsFeign
0 likes · 6 min read

This article introduces the Spring‑Retry and Guava‑Retry frameworks for Java, explains their dependencies, configuration, policies, and back‑off strategies, demonstrates both XML/annotation and programmatic usage with detailed code samples, and compares their flexibility and suitability for backend applications.
Guava RetryJavaretry mechanism
0 likes · 15 min read

This article explains how to implement robust retry mechanisms in Java applications using Spring‑Retry and Guava‑Retry, covering dependency setup, template configuration, annotation usage, various retry and back‑off policies, and practical code examples with detailed explanations.
Guava RetryRetry Policyspring retry
0 likes · 15 min read

This article explains how to implement robust retry mechanisms in Java applications by comparing Spring‑Retry's declarative exception‑based approach with Guava‑Retry's flexible result‑oriented strategy, covering dependencies, configuration, policies, back‑off options, annotation usage, and practical code examples.
Backoff StrategyException HandlingGuava Retry
0 likes · 14 min read

This guide explains how Spring Boot’s @Retryable annotation enables elegant, annotation‑driven retry logic, covering dependency setup, enabling retry, method annotation with configurable parameters, recovery handling via @Recover, and important AOP‑related considerations to avoid common pitfalls.
@RetryableAOPException Handling
0 likes · 7 min read

Learn how to use Spring Retry’s @Retryable and @Recover annotations to implement elegant, non-intrusive retry mechanisms in Spring Boot, covering configuration, code examples, parameter meanings, backoff strategies, and important considerations for reliable error handling.
@RetryableJavabackend development
0 likes · 7 min read

This article explains how Spring Boot's spring-retry module and the @Retryable annotation enable clean, annotation‑driven retry logic for common failure scenarios, covering configuration, code examples, recovery handling with @Recover, and important usage precautions.
@RetryableAnnotationsJava
0 likes · 7 min read

This article introduces Spring Retry's @Retryable annotation, explains its purpose, shows how to add the Maven dependency, enable retry support, annotate methods with retry settings, handle failures with @Recover, and outlines important considerations for reliable retry mechanisms in Java backend development.
@RetryableBackendJava
0 likes · 7 min read

This guide explains how to configure Spring Cloud Ribbon with @LoadBalanced RestTemplate to add client‑side load balancing and a robust retry mechanism that automatically re‑issues failed requests across service instances.
LoadBalancingRestTemplateRetry
0 likes · 4 min read
