Camel bindy: paralelle writing

47 Views Asked by At

I'm having a collection of objects that I would like to serialize into a same CSV file.

What is the fastest way to write these objects into the same file ? Is using parallelProcessing() a safe approach ?

1

There are 1 best solutions below

0
bvn13 On

I'd rather implement it with two routes: one with parallel processing collecting data and the second one for writing the collected data into CSV. The latter will be not parallel of course.