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 2021/10/30 08:52:00 UTC
[jira] [Created] (CAMEL-17149) camel-main - Binding beans should
allow to refer to other beans in the constructor parameters
Claus Ibsen created CAMEL-17149:
-----------------------------------
Summary: camel-main - Binding beans should allow to refer to other beans in the constructor parameters
Key: CAMEL-17149
URL: https://issues.apache.org/jira/browse/CAMEL-17149
Project: Camel
Issue Type: New Feature
Components: camel-core, camel-main
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 3.13.0
You should be able to do
{code}
camel.beans.address=#class:org.apache.camel.main.MyAddress(90210, 'Somestreet 123')
camel.beans.order=#class:org.apache.camel.main.MyOrder('Acme', #bean:address)
{code}
Where the order bean in its constructor refers to the address by via #bean:address
--
This message was sent by Atlassian Jira
(v8.3.4#803005)