On Mon, May 28, 2012 at 12:51 PM, Charpente <[email protected]> wrote: > With your experience, don't you know a better to achieve my "split"?? >
I would try to have 1 route with 1 splitter, and instead of the hardcoded number in the xpath expression, use a token or some sort, so the splitter splits on any of the numbers. Then you can afterwards check the splitted message, and extract that part to get the actual number, you can use for knowing which file name to use for writing/appending to the files. > Benoit > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Route-in-a-loop-tp5713621p5713633.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
