[
https://issues.apache.org/jira/browse/CAMEL-14471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pascal Schumacher updated CAMEL-14471:
--------------------------------------
Description:
Spring 5.2 makes it possible to disable proxying of bean methods for
configuration classes (with @Configuration(proxyBeanMethods=false)) to avoid
the generation of cglib proxies and improve performance. For details see:
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Configuration.html#proxyBeanMethods--
Spring Boot (see: https://github.com/spring-projects/spring-boot/issues/9068)
and other Spring projects already use this for their auto-configuration classes.
Camel-spring-boot and camel-spring-boot-starter should also use this feature.
was:
Spring 5.2 makes it possible to disable proxying of bean methods for
configuration classes (with @Configuration(proxyBeanMethods=false)) to
avoid the generation of cglib proxies and improve performance. For details see:
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Configuration.html#proxyBeanMethods--
Spring Boot (see: https://github.com/spring-projects/spring-boot/issues/9068)
and other Spring projects already use this for their auto-configuration classes.
Camel-spring-boot and camel-spring-boot-starter should also use this feature.
> camel-spring-boot: Disable proxying of bean methods for auto-configuration
> classes
> ----------------------------------------------------------------------------------
>
> Key: CAMEL-14471
> URL: https://issues.apache.org/jira/browse/CAMEL-14471
> Project: Camel
> Issue Type: Improvement
> Components: camel-spring-boot, camel-spring-boot-starters
> Reporter: Pascal Schumacher
> Assignee: Pascal Schumacher
> Priority: Major
> Fix For: 3.1.0
>
>
> Spring 5.2 makes it possible to disable proxying of bean methods for
> configuration classes (with @Configuration(proxyBeanMethods=false)) to avoid
> the generation of cglib proxies and improve performance. For details see:
> https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Configuration.html#proxyBeanMethods--
> Spring Boot (see: https://github.com/spring-projects/spring-boot/issues/9068)
> and other Spring projects already use this for their auto-configuration
> classes.
> Camel-spring-boot and camel-spring-boot-starter should also use this feature.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)