PDA

View Full Version : Multithreading with Spring batch



Sreejith G
Mar 17th, 2008, 02:12 AM
How I can create multithreads at runtime without using Thread class. I started Batch process using a SimpleTrigger and I need a some number of Threads based on Config field value which will do parallel processing.

Anybody have an idea How to this with Spring Batch?? Please advice:confused:

adrianshum
Mar 17th, 2008, 04:04 AM
How I can create multithreads at runtime without using Thread class. I started Batch process using a SimpleTrigger and I need a some number of Threads based on Config field value which will do parallel processing.

Anybody have an idea How to this with Spring Batch?? Please advice:confused:

Take a look in the sample project. There is a parallelJob.xml which I think demonstrate what u r asking for :)