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

AnnotationTypeMapping warning when using @CircuitBreaker with Spring Framework 6 #324

Closed
artembilan opened this issue Nov 18, 2022 · 0 comments · Fixed by #323
Closed

AnnotationTypeMapping warning when using @CircuitBreaker with Spring Framework 6 #324

artembilan opened this issue Nov 18, 2022 · 0 comments · Fixed by #323
Labels
Milestone

Comments

@artembilan
Copy link
Member

See more info in #323

@artembilan artembilan added the bug label Nov 18, 2022
@artembilan artembilan added this to the 2.0.1 milestone Nov 18, 2022
artembilan pushed a commit that referenced this issue Nov 18, 2022
Fixes #324

Using the annotation `@CircuitBreaker` with Spring Framework 6 leads to the following warning:

```
 WARN org.springframework.core.annotation.AnnotationTypeMapping [main] : Support for convention-based annotation attribute overrides is deprecated and will be removed in Spring Framework 6.1. Please annotate the following attributes in @org.springframework.retry.annotation.CircuitBreaker with appropriate @AliasFor declarations: [include, maxAttempts, noRetryFor, maxAttemptsExpression, notRecoverable, exclude, exceptionExpression, label, retryFor]
```

* Provide a respective fix for `@CircuitBreaker` annotation.
* Deprecated attributes which are deprecated already in the `@Retriable`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant