Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotation Improvements #184

Closed
garyrussell opened this issue Oct 25, 2019 · 0 comments · Fixed by #298
Closed

Annotation Improvements #184

garyrussell opened this issue Oct 25, 2019 · 0 comments · Fixed by #298
Milestone

Comments

@garyrussell
Copy link
Contributor

Evaluate *Expression properties at runtime instead of during annotation parsing.

See https://stackoverflow.com/questions/58559733/can-springs-retryable-or-retrytemplate-use-retry-after-header-for-dynamic-backo/58560029#58560029

We could either enhance the current policies and backoff policies to accept expressions directly or, after moving to 2.0 (and Java 8) Supplier<?>s and leave the expression evaluation in the AnnotationAwareRetryOperationsInterceptor.

@garyrussell garyrussell added this to the 2.0.0-M1 milestone Apr 18, 2022
garyrussell added a commit to garyrussell/spring-retry that referenced this issue May 3, 2022
garyrussell added a commit to garyrussell/spring-retry that referenced this issue May 3, 2022
artembilan pushed a commit that referenced this issue May 4, 2022
Resolves #184

* Remove `args` property when using stateful (including CircuitBreaker).

Other polishing from review.

* Docs for stateful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant