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 2022/12/02 12:25:00 UTC

[jira] [Resolved] (CAMEL-18737) [camel-kamelet] parameter substitution does not work in bean instantiation when constructor is used

     [ https://issues.apache.org/jira/browse/CAMEL-18737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-18737.
---------------------------------
    Resolution: Fixed

> [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
>          Components: camel-core, camel-kamelet
>    Affects Versions: 3.19.0
>            Reporter: Luigi De Masi
>            Assignee: Luigi De Masi
>            Priority: Major
>             Fix For: 3.18.5, 3.20.0
>
>
> 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)