Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18737

[camel-kamelet] parameter substitution does not work in bean instantiation when constructor or factory method is used

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      When trying to instantiate a bean using the constructor like this:

      spec:
        template:
          beans:
            - name: myBean
              type: '#class:com.mycompany.MyBean({{propA}}, {{propb}})'
      

      property substitution does not happen.

      Attachments

        Activity

          People

            ldemasi Luigi De Masi
            ldemasi Luigi De Masi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: