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

BridgePropertyPlaceholderConfigurer does not support nested Spring properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.3
    • 2.10.5, 2.11.0
    • camel-spring
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: