[ https://issues.apache.org/jira/browse/CAMEL-18189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712944#comment-17712944 ]
Grzegorz Grzybek commented on CAMEL-18189: ------------------------------------------ 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)