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

Support placeholders on attributes of camelContext element

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Component/s: camel-spring
    • Labels:
      None
    • Estimated Complexity:
      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

              • Assignee:
                zregvart Zoran Regvart
                Reporter:
                zregvart Zoran Regvart
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: