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

Support placeholders on attributes of camelContext element

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.20.0
    • camel-spring
    • None
    • Unknown

    Description

      Property placeholders used in attributes of <camelContext> element don't get replaced when being set on the CamelContextFactoryBean.

      For example:

      <camelContext autoStartup="{{autoStartup}}" xmlns="http://camel.apache.org/schema/spring">
      ...
      </camelContext>
      

      the autoStartup property of CamelContextFactoryBean will be set to the literal value of "{{autoStartup}}" and not replaced with property value with the key of autoStartup.

      Attachments

        Issue Links

          Activity

            People

              zregvart Zoran Regvart
              zregvart Zoran Regvart
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: