camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Route in a loop
Date Tue, 29 May 2012 08:32:55 GMT
On Mon, May 28, 2012 at 12:51 PM, Charpente <> 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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message