You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Grzegorz Grzybek (Jira)" <ji...@apache.org> on 2023/04/17 08:08:00 UTC

[jira] [Comment Edited] (CAMEL-18189) camel-core - XML DSL for custom beans and to embed Camel routes in same file

    [ https://issues.apache.org/jira/browse/CAMEL-18189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712944#comment-17712944 ] 

Grzegorz Grzybek edited comment on CAMEL-18189 at 4/17/23 8:07 AM:
-------------------------------------------------------------------

Thanks for the reminder :)

New {{beans}} is not a problem - the problem is whether it should match/reflect entire {{org.springframework.beans.factory.config.BeanDefinition}} model or be some kind of least common denominator with only:
* class name
* set of property values (with refs?)
* set of constructor arguments
* parent?
* depends-on?
* factory-method?
* post-construct / pre-destroy?
* scope (prototype / singleton)?


was (Author: gzres):
Thanks for the reminder :)

New {{beans}} is not a problem - the problem is whether it should much entire {{org.springframework.beans.factory.config.BeanDefinition}} model or be some kind of least common denominator with only:
* class name
* set of property values (with refs?)
* set of constructor arguments
* parent?
* depends-on?
* factory-method?
* post-construct / pre-destroy?
* scope (prototype / singleton)?

> 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)