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

Optimize generated configurer to use static block for getAllOptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.6.0
    • camel-core
    • None
    • Unknown

    Description

      For example org.apache.camel.component.file.FileEndpointConfigurer#getAllOptions is returning a new map with static information.

      We can turn that into a static block in the generated source and return a static instance, this optimizes the JVM.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: