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

BridgePropertyPlaceholderConfigurer does not support nested Spring properties from System variables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.11.0
    • 2.10.5, 2.11.1, 2.12.0
    • camel-spring
    • None
    • Windows 7

    • Unknown

    Description

      Some work has been done in order to make BridgePropertyPlaceholderConfigurer work with nested spring-style properties (see CAMEL-6233).

      However, the fix does not allow using nested spring-style properties for system variables; here only camel-style is supported. For example:

      inCamelSystem=${${environment}.inCamelSystem} does not work when "environment" has been set as a system variable (e.g. set to "junit").

      inCamelSystem={{environment.inCamelSystem}} works, however.

      Camel test case is attached.

      Attachments

        1. BridgePropertyPlaceholderConfigurer-problem.zip
          4 kB
          Henrik Filtenborg Sørensen

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              hefiso Henrik Filtenborg Sørensen
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: