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)