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.