[
https://issues.apache.org/jira/browse/CAMEL-14445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028490#comment-17028490
]
Claus Ibsen commented on CAMEL-14445:
-------------------------------------
Yeah this would be good as loading all those model classes 170+ takes a bit of
time, and then the object resides in memory/classloader after use, and takes up
about 90kb (map of model with configurers)
> Remove the property placeholder resolution inside definitions
> -------------------------------------------------------------
>
> Key: CAMEL-14445
> URL: https://issues.apache.org/jira/browse/CAMEL-14445
> Project: Camel
> Issue Type: Task
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Priority: Major
> Fix For: 3.1.0
>
>
> When a definition is reified into a processor/dataformat/language, the
> following steps are performed:
> * resolve placeholders on the definition and keep track of the changed
> properties
> * build the runtime object from the definition
> * restore the definition to its original state
>
> This could be simplified by simply resolving the placeholders when the
> various values from the definition are injected into the runtime objects.
> This would also remove the need to generate property configurers for
> definitions.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)