Because of memory limitation i need to split a result from sql-component
(List<Map<column,value>>) into smaller chunks (some thousand).
I know about
from(sql:...).split(body()).streaming().to(...)
and i also know
.split().tokenize("\n", 1000).streaming()
but the latter is not working with List<Map<>> and is also returning a
String.
Is there a out of the Box way to create those chunks? Or do i need to add a
custom aggregator just behind the split? Or is there another way?
thanks in advance
--
View this message in context:
http://camel.465427.n5.nabble.com/split-big-sql-result-in-smaller-chunks-tp5759697.html
Sent from the Camel - Users mailing list archive at Nabble.com.