Simple Language - Can we support operators
------------------------------------------

                 Key: CAMEL-1338
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1338
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Claus Ibsen
             Fix For: Future


The simple language can currently only be used for
- string concats
- as predicates to check for existence of a given header/property etc.
- access to system properties, headers, body etc.
- some simple date/java.text formatting

But if you use it in Spring DSL in choice etc. then end users would like to do 
some simple operator matching such as
{code}
$in.header.foo = 'bar'
{code}

Currently you have to use eg EL, mvel, ognl or other scripting language for 
that.

But maybe we could add a very simple operator syntax for just the basic stuff. 
eg we have in the ExpressionBuilder/BinaryPredicates with isEqual, isNotEqual 
etc.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to