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
With Spring boot, @Retryable annotation on methods results in JDK Proxy instead of CGLIB Proxy.
Why not, but with Spring Boot, when methods are annotated with @Cacheable, @Transactional or @PreAuthorize, it results in cglib proxy beans even if proxyTargetClass is not set to true on @Enable* annotations and even if the class implements an interface. Same behavior with @Retryable and @EnableRetry for Spring 6 projects with spring-retry
It could be the same for Spring 7 @Retryable: cglib proxy even if @EnableResilientMethods does not set proxyTargetClass to true.