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

camel-main - Binding beans should allow to refer to other beans in the constructor parameters

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.13.0
    • camel-core, camel-main
    • None
    • Unknown

    Description

      You should be able to do

      camel.beans.address=#class:org.apache.camel.main.MyAddress(90210, 'Somestreet 123')
      camel.beans.order=#class:org.apache.camel.main.MyOrder('Acme', #bean:address)
      

      Where the order bean in its constructor refers to the address by via #bean:address

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: