{"id":54528,"library":"spring-retry","title":"Spring Retry","description":"Spring Retry provides an abstraction for retrying failed operations with declarative control and policy-based behavior.","status":"active","version":"2.0.12","language":"java","source_language":null,"source_url":"https://github.com/spring-projects/spring-retry","tags":["retry","spring","resilience","error-handling"],"install":[{"cmd":"<dependency>\n  <groupId>org.springframework.retry</groupId>\n  <artifactId>spring-retry</artifactId>\n  <version>2.0.12</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.springframework.retry:spring-retry:2.0.12'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Retryable","correct":"org.springframework.retry.annotation.Retryable"}],"quickstart":{"code":"import org.springframework.retry.annotation.Retryable;\nimport org.springframework.stereotype.Service;\n\n@Service\npublic class MyService {\n    @Retryable(value = Exception.class, maxAttempts = 3)\n    public void retryableMethod() {\n        // operation that may fail\n    }\n}","lang":"java","description":"Annotates a method to be retried up to 3 times on exception."},"warnings":[{"fix":"Ensure your project uses Spring Framework 5+ or upgrade Spring Retry to compatible version.","message":"Spring Retry 2.x requires Spring Framework 5.x or later.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'abstract':7 'base':18 'behavior':19 'control':14 'declar':13 'error':24 'error-handl':23 'fail':10 'handl':25 'oper':11 'polici':17 'policy-bas':16 'provid':5 'resili':22 'retri':2,4,9,20 'spring':1,3,21","created_at":"2026-06-15T09:10:52.039092+00:00","updated_at":"2026-06-15T09:10:52.039092+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/spring-projects/spring-retry","github":"https://github.com/spring-projects/spring-retry","docs":"https://appdoc.app/artifact/org.springframework.retry/spring-retry/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}