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

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

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

Preben Asmussen commented on CAMEL-6233:
----------------------------------------

Should be supported from 2.11 see https://issues.apache.org/jira/browse/CAMEL-5328 
I wonder if the support can be extended to use the Spring properties notation $ with the BridgePropertyPlaceholderConfigurer instead of {{}}
                
> 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