You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is a workaround in Spring Cloud Config (spring-cloud/spring-cloud-config#2456) that sets the logger of RetryTemplate via reflections. There should be a setter for the logger.
By fixing this issue the setter is applied to the RetryTemplate.
The text was updated successfully, but these errors were encountered:
klopfdreh
changed the title
Enable RetryTemplate for reflections to be used at Spring Boot Native images (aot)
Apply a setter for the logger field of RetryTemplate so that it doesn't need to be injected via reflections
Sep 19, 2024
GH-470: Add `RetryTemplate.setLogger()` to avoid reflection in other places
Fixes: #470
Issue link: #470
Spring Cloud Config does mutation in the `RetryTemplate` for its system loading logger via `RetryTemplateFactory`.
* Expose setter for `logger` property to avoid reflection.
* Add `RetryTemplateBuilder.withLogger()` for convenience
Currently there is a workaround in Spring Cloud Config (spring-cloud/spring-cloud-config#2456) that sets the logger of
RetryTemplate
via reflections. There should be a setter for the logger.By fixing this issue the setter is applied to the
RetryTemplate
.The text was updated successfully, but these errors were encountered: