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

BridgePropertyPlaceholderConfigurer does not support nested Spring properties

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.3
    • Fix Version/s: 2.10.5, 2.11.0
    • Component/s: camel-spring
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      BridgePropertyPlaceholderConfigurer does not support recursive properties (as Spring property placeholder does).

      Given the following Spring properties file :

      project.path=/project
      integration.in=${project.path}/in
      

      If I use the expression {{integration.in}} in the from clause of my RouteBuilder, I get an exception :

      Invalid directory: ${project.path}/in. Dynamic expressions with ${ } placeholders is not allowed. Use the fileName option to set the dynamic expression.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                vanackej Johann Vanackere
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: