You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Johann Vanackere (JIRA)" <ji...@apache.org> on 2013/04/02 20:03:19 UTC

[jira] [Created] (CAMEL-6233) BridgePropertyPlaceholderConfigurer does not support recursive properties

Johann Vanackere created CAMEL-6233:
---------------------------------------

             Summary: BridgePropertyPlaceholderConfigurer does not support recursive properties
                 Key: CAMEL-6233
                 URL: https://issues.apache.org/jira/browse/CAMEL-6233
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.10.3
            Reporter: Johann Vanackere


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

Given the following Spring properties file :
{noformat}
project.path=/project
integration.in=${project.path}/in
{noformat}

If I use the expression {{{{integration.in}}}} in the from clause of my RouteBuilder, I get an exception :
{noformat}
Invalid directory: ${project.path}/in. Dynamic expressions with ${ } placeholders is not allowed. Use the fileName option to set the dynamic expression.
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira