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 2024/08/29 10:19:00 UTC
[jira] [Created] (CAMEL-21141) camel-core- Add lazy to beans in yaml/xml DSL
Claus Ibsen created CAMEL-21141:
-----------------------------------
Summary: camel-core- Add lazy to beans in yaml/xml DSL
Key: CAMEL-21141
URL: https://issues.apache.org/jira/browse/CAMEL-21141
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Claus Ibsen
Fix For: 4.x
With the lazy = true|false on @BindToRegistry then we could also have lazy in beans created in xml/yaml DSL in the model.
This may be more complicated when they use builder/factory methods and other means. So this is just to see how complex it may be, and if not, then we can consider having lazy. As users can then declare beans that would only be created if in-use.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)