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

BridgePropertyPlaceholderConfigurer does not support nested Spring properties from System variables

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              hefiso Henrik Filtenborg Sørensen

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment