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/03 02:07:15 UTC

[jira] [Commented] (CAMEL-6233) BridgePropertyPlaceholderConfigurer does not support nested properties

    [ https://issues.apache.org/jira/browse/CAMEL-6233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620425#comment-13620425 ] 

Johann Vanackere commented on CAMEL-6233:
-----------------------------------------

Indeed, support of Spring properties notation would be nice.
                
> BridgePropertyPlaceholderConfigurer does not support nested 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