[
https://issues.apache.org/jira/browse/CAMEL-18189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712943#comment-17712943
]
Claus Ibsen commented on CAMEL-18189:
-------------------------------------
This requires to add <beans> to the camel-core-model, and have it included in
all DSLs
- java
- xml io
- yaml
- spring xml (legacy) does not need to support this as it uses spring <bean>
Then a basic dependency injection for end users to just setup some basic bean.
yaml-dsl already have -beans today where you can setup beans
> camel-core - XML DSL <beans> for custom beans and to embed Camel routes in
> same file
> ------------------------------------------------------------------------------------
>
> Key: CAMEL-18189
> URL: https://issues.apache.org/jira/browse/CAMEL-18189
> Project: Camel
> Issue Type: New Feature
> Components: camel-core-xml
> Reporter: Claus Ibsen
> Assignee: Grzegorz Grzybek
> Priority: Major
> Fix For: Future
>
>
> We may consider a root tag such as <beans> that are Camel specific and
> therefore works on all runtimes, where we can have basic support for
> dependency injection with <bean> and also embed Camel <routes> and <rests>
> and <routeConfigurations> and <routeTemplates> etc all in the same file.
> This can be handy for low-code projects with Camel K / Camel JBang.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)