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

BridgePropertyPlaceholderConfigurer does not support nested Spring properties

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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment