Re: Splitter with parallelProcessing and exectorService for each Exchange being split

2014-01-20 Thread hshicx
Hi, I see the point of making it per route and not per exchange. However, my current use case is: 1 - I need to process a directory of large files (CSV) 2 - Each file is processed as a batch 3 - Need to process up to 3 files in parallel (using .threads(3) after the file consumer). 4- Split each fi

Re: Splitter with parallelProcessing and exectorService for each Exchange being split

2014-01-19 Thread Claus Ibsen
On Mon, Jan 20, 2014 at 3:04 AM, Willem Jiang wrote: > The executorService of Splitter is set when splitter definition creates the > processor. > So the exectorService per Splitter processor not per each exchange. > Correct, and also remember that executorService = thread pool. And each splitted

Re: Splitter with parallelProcessing and exectorService for each Exchange being split

2014-01-19 Thread Willem Jiang
The executorService of Splitter is set when splitter definition creates the processor. So the exectorService per Splitter processor not per each exchange. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (English)