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

Preben Asmussen commented on CAMEL-6118:
----------------------------------------

[~raulvk] This deserves to be supported in Spring/Blueprint especially since 
you in 2.11 can externalize scripts and load it from classpath, file or http. 
Would be powerfull to use compound expressions loaded from eg. the filesystem 
and be able to change them on the fly via osgi config admin, or be able to 
clear/reload the expression via jmx as you can with eg. xslt cache.
Wouldn't it be worth to reopen the issue for that ?
                
> 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

Reply via email to