You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Dejan Predovic (JIRA)" <ji...@apache.org> on 2007/10/19 17:58:24 UTC
[jira] Commented: (CAMEL-188) Filter doesn't stop pipeline
execution when not matched
[ 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.