There is also xtokenizer which is a more specialized variation of tokenize xml=true
On Tue, Oct 27, 2015 at 9:35 AM, Vanshul.Chawla <vanshul.cha...@target.com> wrote: > Got that > > <tokenize token="ShipmentLine" xml="true" group="100"/> > > -----Original Message----- > From: Vanshul.Chawla [mailto:vanshul.cha...@target.com] > Sent: Tuesday, October 27, 2015 1:54 PM > To: users@camel.apache.org > Subject: Camel split using xpath for big xml > > Hello All, > > We need to split a big xml containing a repeating element into multiple > messages each containing 100 count for that repeating element. > > So say repeating element occurs for 550 times, we need to get 6 xmls(5 with > 100 and last with 50 occurences). > > Tokenize has an option of group.Do we have similar option for xpath based > splitting also. > > > Vanshul -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: https://www.manning.com/books/camel-in-action-second-edition