Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14471

camel-spring-boot: Disable proxying of bean methods for auto-configuration classes

    XMLWordPrintableJSON

Details

    • Unknown

    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.

      Attachments

        Issue Links

          Activity

            People

              pascalschumacher Pascal Schumacher
              pascalschumacher Pascal Schumacher
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m