camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Splitter based on header information
Date Tue, 04 Sep 2012 07:47:32 GMT
On Tue, Sep 4, 2012 at 9:39 AM, Marco Zapletal <> wrote:
> Hi folks,
> I've gone through the docs of the Splitter. However, what I have learned so
> far is that the element that is used for splitting must be defined within
> the DSL (at design time) - or is there any chance to split an XML document
> based on header information, which can be set at run time?

Yep the splitter uses an expression, so it can refer to a header. Then
you can set the value of the header at runtime.

> Thanks and best regards,
> Marco

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

View raw message