-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.1.0
-
Component/s: camel-spring-boot, camel-spring-boot-starters
-
Labels:None
-
Estimated Complexity:Unknown
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.
- links to