Hi Easier to crete a route for the splitter And then have another route that does the filter. And use the direct endpoint to call the other route.
from X filter bla to splitme end common stuff here from direct:splitme split tokenize xml On Wed, Jun 20, 2012 at 2:55 PM, PJ Walstroem <walst...@hotmail.com> wrote: > if the filter() Predicate returns false, I assume the processing stops there? > I would like to go beyond the split() and carry on with the .convertBodyTo() > etc. in case the filter() returns false. > > I tried something like > from(incomingQueue) > .choice() > .when().xpath(UPDATE_XPATH) > .split().tokenizeXML("update", "dbStream") > .end() > .convertBodyTo() > .... > > and even > from(incomingQueue) > .split(xpath(UPDATE_XPATH).tokenizeXML("update", "dbStream")) > .end() > .convertBodyTo() > > but they are not correct. Don't know how to solve this > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Split-how-to-leave-message-untouched-tp5714734p5714743.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen