简体   繁体   中英

Camel bindy: paralelle writing

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM