On Tue, Sep 4, 2012 at 9:39 AM, Marco Zapletal <marco.zaple...@gmail.com> 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 ----------------- 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