-
Oct 30th, 2012, 06:23 AM
#1
Conditional Step execution
I have a job with e.g. steps 1 to 10 in a sequnetial execution.
Based on a JobParameter (mmExport=true) enterd on the command line I want to either execute all the steps or END after e.g step 6.
I looked at using a Decider but that won't work becuase it is not inside a step so I can't give it a scope="step"
but I need a scope="step" in order to do something like
<bean id="deciderMM" class="de.quirin.siron.job.MMDecider" scope="step">
<property name="exportMM" value="#{jobParameters['export.mm']}"/>
</bean>
Is there any elegant way to do this in Spring Batch?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules