-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed as not planned
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applystatus: feedback-providedFeedback has been providedFeedback has been provided
Description
given the core Resilience Features supersede spring-retry, is there a replacement for the spring-retry @Recover functionality?
ref. https://github.com/spring-projects/spring-retry?tab=readme-ov-file#declarative-example
@Retryable(retryFor = RemoteAccessException.class)
public void service() {
// ... do something
}
@Recover
public void recover(RemoteAccessException e) {
// ... panic
}from what i understand, the retry support in core is intentionally minimal but as spring-retry is in the attic/maintenance-only now, having to fall back to Programmatic Retry Support (i.e. RetryTemplate) would be a step backwards in my opinion.
if i am not missing something and there is no replacement (yet), please consider this issue a feature-/enhancement-request to add it.
thanks & regards.
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applystatus: feedback-providedFeedback has been providedFeedback has been provided