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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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

                Slack

                  Issue deployment