Claus Ibsen created CAMEL-16349:
-----------------------------------
Summary: camel-core - MainHelper load list from file in classpath
to reduce memory
Key: CAMEL-16349
URL: https://issues.apache.org/jira/browse/CAMEL-16349
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 3.9.0
By static source code generate in java then we make the class take up memory
space for string constants for all the component names.
As we only need this during bootstrap, we could source code generate to a
.properties file and load this file from classpath into a set, and then clear
the set after use. Then there is no memory being hold up.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)