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

camel-main - Optimise main configurer

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0.M4, 3.0.0
    • camel-core
    • None
    • Unknown

    Description

      This method takes approx 60 millis on my laptop
      org.apache.camel.main.DefaultConfigurationConfigurer#afterPropertiesSet

      I suspects its all those lambda's that are loaded on classpath and only in use if there is a bean to lookup. The logic can be improved to use old fashioned code with some if != null

      If I disable all of those then its down to 4 millis on my laptop

      Attachments

        Activity

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

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment