Registry / utility / spring-retry

spring-retry

JSON →
library2.0.12javamavenunverified

Spring Retry provides an abstraction for retrying failed operations with declarative control and policy-based behavior.

<dependency> <groupId>org.springframework.retry</groupId> <artifactId>spring-retry</artifactId> <version>2.0.12</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-RETRY
S
spring-retry
utilityjavav2.0.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Retryable
org.springframework.retry.annotation.Retryable

Annotates a method to be retried up to 3 times on exception.

import org.springframework.retry.annotation.Retryable; import org.springframework.stereotype.Service; @Service public class MyService { @Retryable(value = Exception.class, maxAttempts = 3) public void retryableMethod() { // operation that may fail } }
Debug
Known issues
breakingSpring Retry 2.x requires Spring Framework 5.x or later.
fix
Ensure your project uses Spring Framework 5+ or upgrade Spring Retry to compatible version.
affects: >=2.0.0
Upgrade
Version history
2.0.12latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
spring-retry — mvn dependency:get spring-retry · libregistry