[ 
https://issues.apache.org/activemq/browse/CAMEL-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40432
 ] 

Dejan Predovic commented on CAMEL-188:
--------------------------------------

Ok, works. :) But I wouldn't call it "filter" then, it's actually an "if".


> Filter doesn't stop pipeline execution when not matched
> -------------------------------------------------------
>
>                 Key: CAMEL-188
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-188
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Dejan Predovic
>
> <route>
>             <from uri="direct:foo"/>
>             <filter>
>                 <xpath>
>                     /alwaysFalse
>                 </xpath>
>             </filter>
>             <to uri="mock:foo"/>
> </route>
> Exchange to mock:foo gets executed even when expression evaluates to false. 
> when it evaluates to true, it doesn't get executed twice.

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