[ https://issues.apache.org/activemq/browse/CAMEL-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46379#action_46379 ]
Claus Ibsen commented on CAMEL-979: ----------------------------------- The problem is to determine if its an error or not if an end user enters {code} in.heder.foo {code} That was supposed to be: {code} in.header.foo {code} Currently you get an Exception. > SimpleLanguage - to support constant expressions > ------------------------------------------------ > > Key: CAMEL-979 > URL: https://issues.apache.org/activemq/browse/CAMEL-979 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 1.4.0 > Reporter: Claus Ibsen > > Currently the simple language does not support constant expressions, that > actually is useable in the file component that uses simple language to set > file names > So if an end-user want to produce a file with a fixed name, then its not > possible > {code} > expression=MyBigFile.txt > {code} > Is not possible. > But this is: > {code} > expression=MyBigFile-${header.foo}.txt > {code} > is as there is a ${} placeholder and then the simple language can evaluate it. > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.