Hi, I'm new to spring-batch and I don't the best way to do this.
My batch application generates some files to be downloaded later by the client, and I do all the processing in a class that I implemented org.springframework.batch.core.step.tasklet.Taskle t.
I need to make my application multi-thread, but the amount of thread to run each job instance will be defined by the client. So I'll have a pool with, say, 10 threads, and the client in his request will say how many threads he wants for his file generation.
What is the best way to accomplish this? I've already read the Chapter 7 form the spring-batch reference, but I still have no idea.
Thanks!!


Reply With Quote
