Hi,
Consider a job configured with some 10 steps. If we want to execute selected steps of a job, that are decided at runtime, does spring batch supports this?
Thanks,
Sreenivas.
Hi,
Consider a job configured with some 10 steps. If we want to execute selected steps of a job, that are decided at runtime, does spring batch supports this?
Thanks,
Sreenivas.
Last edited by sreenivas.svs; Oct 1st, 2010 at 05:44 AM.
@sreenivas.svs,
Take a look at "Controlling Step Flow" http://static.springsource.org/sprin...ollingStepFlow chapter.
But in practice, I would recommend to have multiple jobs for multiple use cases ( that does not mean they can not have multiple steps, but it means they would encapsulate a single business use case ) rather than having a single job represent multiple use cases.
/Anatoly
Humans are stateful and mutable beings that have no problems processing many things concurrently and share state with others + they are usually "coupled"
Hi litius,
Thanks for your response. Selective steps mean, user will be allowed to choose steps against the job name. so i need to skip the unselected steps dynamically. But following has answered my requirement.
http://forum.springsource.org/showthread.php?t=70020