camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raul Kripalani (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-6118) Allow to combine predicates applying logical operators
Date Fri, 01 Mar 2013 16:09:13 GMT
Raul Kripalani created CAMEL-6118:
-------------------------------------

             Summary: Allow to combine predicates applying logical operators
                 Key: CAMEL-6118
                 URL: https://issues.apache.org/jira/browse/CAMEL-6118
             Project: Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Raul Kripalani
            Assignee: Raul Kripalani
             Fix For: 2.11.1


I can see something like this being very useful in many cases:

{code}
from("foo:bar")
   .filter(and(xpath("//weather = 'cloudy'"), simple("${property.skyColor} != 'dark grey'")))
   .setBody(constant("It's gonna rain..."))
.end();
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message