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 2011/04/24 14:33:05 UTC

[jira] [Assigned] (CAMEL-3896) Filter EIP - Should validate it has child outputs

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

Claus Ibsen reassigned CAMEL-3896:
----------------------------------

    Assignee: Claus Ibsen

> Filter EIP - Should validate it has child outputs
> -------------------------------------------------
>
>                 Key: CAMEL-3896
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3896
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.7.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> In Java DSL its not problem. But in XML DSL end users may define a filter like this
> {code:xml}
> <filter>
>    <header>foo</header>
> </filter>
> <to xxx>
> {code}
> And expect the filter to only send to XXX if filter is true. But you should put the logic inside the filter XML tag
> {code:xml}
> <filter>
>    <header>foo</header>
>    <to xxx>
> </filter>
> {code}
> We have logic already to validate that for other EIPs. So we should just enable that for the filter EIP as well
> See nabble
> http://camel.465427.n5.nabble.com/Problem-dynamically-filtering-a-route-using-a-bean-via-camel-method-tp4334637p4334637.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira