Janis Kazakovs opened INT-2808 and commented
As a developer I would like to be able to configure XPath Router to do conditional routing based on the XPath value.
For example, when having a message
<passener>
<age>2</age>
</passenger>
a router should be able to route the message to one of the configured channels based on the evaluated expression, e.g.
<xpath-router id="passengerRouter" input-channel="passengerChannel">
<recipient channel="infantChannel" expression="/passenger/age le 1"/>
<recipient channel="adultChannel" expression="/passenger/age gt 12"/>
</xpath-router>
Reference URL: http://forum.springsource.org/showthread.php?131607-EAI-Content-Based-Filter-with-Spring-Integration&p=429293#post429293
1 votes, 4 watchers