camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebinsingh <>
Subject Aggregating huge files
Date Fri, 27 Apr 2012 20:07:04 GMT

I have an scenario where I need to aggregate small files containing XML data
(Records) into large ones containing 50000 xml data (Records).

But ended up in Java heap memory issue.

Is there a way to stream the records into a file till i reach 50000 records
and then move on to create another file and start writing to it.

Appreciate your help.


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

View raw message