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