-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Open
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: waiting-for-triageAn issue we've not yet triaged or decided onAn issue we've not yet triaged or decided on
Description
Hi,
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.
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: waiting-for-triageAn issue we've not yet triaged or decided onAn issue we've not yet triaged or decided on