[
https://issues.apache.org/jira/browse/CAMEL-18737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luigi De Masi updated CAMEL-18737:
----------------------------------
Description:
When trying to instantiate a bean using the constructor like this:
{code:java}
spec:
template:
beans:
- name: myBean
type: '#class:com.mycompany.MyBean({{propA}}, {{propb}})'
{code}
property substitution does not happen.
was:
> [camel-kamelet] parameter substitution does not work in bean instantiation
> when constructor is used
> ----------------------------------------------------------------------------------------------------
>
> Key: CAMEL-18737
> URL: https://issues.apache.org/jira/browse/CAMEL-18737
> Project: Camel
> Issue Type: Bug
> Affects Versions: 3.19.0
> Reporter: Luigi De Masi
> Assignee: Luigi De Masi
> Priority: Major
>
> When trying to instantiate a bean using the constructor like this:
> {code:java}
> spec:
> template:
> beans:
> - name: myBean
> type: '#class:com.mycompany.MyBean({{propA}}, {{propb}})'
> {code}
> property substitution does not happen.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)