You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/02/15 18:50:59 UTC

[jira] Updated: (CAMEL-1338) Simple Language - Can we support operators

     [ https://issues.apache.org/activemq/browse/CAMEL-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-1338:
-------------------------------

    Fix Version/s:     (was: Future)
                   2.0.0

Committed revision 744707.

> 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: 2.0.0
>
>
> 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.