Spring Batch / parallel execution and multiple threads per task
Hello all
i have the following job which is comprised of 5 tasks (all independent between them).
Code:
<batch:split id="generateChanges" task-executor="myConcurrentTaskExecutor">
<batch:flow>
... TASK1
</batch:flow?
<batch:flow>
... TASK2
</batch:flow>
..
<batch:flow>
... TASK5
</batch:flow?
...
</batch:split>
i am using a Concurrent Task Executor.... it appears the tasks are ran in 5 separated threads.
However, i was wondering if, in addition to run the tasks in parallel, i can associate more than 1 th read for each tasks..
is that possible? as each of the tasks is reading a lot of data..
w/kindest regards
marco