You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/09/25 13:04:00 UTC

[jira] [Created] (CAMEL-15579) Optimize generated configurer to use static block for getAllOptions

Claus Ibsen created CAMEL-15579:
-----------------------------------

             Summary: Optimize generated configurer to use static block for getAllOptions
                 Key: CAMEL-15579
                 URL: https://issues.apache.org/jira/browse/CAMEL-15579
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
             Fix For: 3.x


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)