Hi, > Am 30.11.2016 um 15:25 schrieb spurcell <scott_purc...@mastercard.com>: > > In a project I am working on, I am parsing a large excel file, and during the > routing, I am performing some validation on the data. I have a route that > performs the validation, and if validation is good, I want to continue down > the same routes that exist. But if the data is invalid, I want to pass it to > a different route to process and handle database writes there. > > I have went through all the EIP patterns, but do not see one that performs > what I call a sift, where the good ones go down one path and the bad ones go > down a different path.
what about using a content bases router http://camel.apache.org/content-based-router.html http://camel.apache.org/why-can-i-not-use-when-or-otherwise-in-a-java-camel-route.html Also take a look at the simple language for access to header and content information http://camel.apache.org/simple.html BR Maruan > > Can someone assist with possible work arounds for this? > > Thanks > Scott > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Route-to-two-paths-tp5790803.html > Sent from the Camel - Users mailing list archive at Nabble.com.