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

Claus Ibsen commented on CAMEL-1338:
------------------------------------

Alone at home, so with the ACDC rocking and a couple of beers I wanted to give 
a cracker as this one. I kinda wanted basic operator support in the simple 
language for the poor Spring DSL

> 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
>            Assignee: 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