[
https://issues.apache.org/jira/browse/CAMEL-7710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14100950#comment-14100950
]
Terris Linenbach commented on CAMEL-7710:
-----------------------------------------
{noformat}That doesn't appear to be the case with simple, which is why I
created this JIRA.
Example:
<filter><simple>${body} == {{version}}</simple>
The error on start-up is:
Could not resolve placeholder 'body' in string value "${body} == 1
In other words, the context never starts.
Using ${properties:version} fixes this.{noformat}
> simple: Use standard {{ }} syntax to reference values in properties files
> -------------------------------------------------------------------------
>
> Key: CAMEL-7710
> URL: https://issues.apache.org/jira/browse/CAMEL-7710
> Project: Camel
> Issue Type: Improvement
> Components: camel-script
> Reporter: Terris Linenbach
> Assignee: Claus Ibsen
>
> This is not simple:
> ${property.head[depth]} <= ${properties:maxDepth}
> This is:
> ${property.head[depth]} <= {{maxDepth}
--
This message was sent by Atlassian JIRA
(v6.2#6252)