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

BridgePropertyPlaceholderConfigurer does not support nested Spring properties from System variables

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.11.0
    • Fix Version/s: 2.10.5, 2.11.1, 2.12.0
    • Component/s: camel-spring
    • Labels:
      None
    • Environment:

      Windows 7

    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: