camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpcook <>
Subject Using Exchange.SPLIT_INDEX
Date Tue, 19 May 2009 11:24:23 GMT


I have recently upgraded to Camel 2 which has a different implementation of
splitting messages or seems to.

Specifically the CamelSplitIndex header. In my routebuilder I have used
split and supplied my own SplitExpression class. This all works nicely and
the log statements confirm this. I want to use the Exchange.SPLIT_INDEX and
set that on my own component. But it is returning the string literal
camelSplitIndex which is the default value defined in I'm not
sure If I have to set this header myself? But this all worked in camel 1.5
using the Splitter.SPLIT_COUNTER?

BatchSplitExpression("/locations/location", 10))			
			.setBody(GroovyLanguage.groovy("'<?xml version=\"1.0\"
			.process(new PlasmaPaginatorProcessor(18, false))			             

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message