Title / Description
Code <job id="edsBatchJob" > <batch:step id="countLinesStep"> <batch:tasklet ref="fileLineCounterTasklet" /> <batch:next on="FAILED" to="mailErrorCounterStep"/> <batch:next on="*" to="readHeaderAndTrailerStep"/> </batch:step> <batch:step id="readHeaderAndTrailerStep"> <batch:tasklet ref="readHeaderAndTrailerTasklet"/> <batch:next on="FAILED" to="mailErrorReadHTStep"/> <batch:next on="*" to="validateStep"/> </batch:step> <batch:step id="validateStep"> <batch:tasklet ref="edsFileValidateTasklet" /> <batch:next on="FAILED" to="mailErrorValidFileStep"/> <batch:next on="*" to="readScreeningRule"/> </batch:step> <step id="readScreeningRule" > <tasklet ref="getScreeningRuleTasklet" /> <batch:next on="FAILED" to="mailErrorReadScreeningRuleStep"/> <batch:next on="*" to="decisionOfWriter"/> </step> <decision id="decisionOfWriter" decider="decider"> <next on="FAILED" to="mailErrorDeciderStep" /> <next on="INCREMENTAL_UPDATE" to="IncrementalUpdateOfItemsTask" /> <next on="TOTAL_REPLACEMENT" to="TotalReplacementOfItemsTask" /> </decision> <step id="IncrementalUpdateOfItemsTask"> <tasklet > <batch:chunk reader="personItemReader" writer="edsItemDetailIncWriter" commit-interval="1"/> </tasklet> <next on="*" to="mailEndOkStep"/> </step> <step id="TotalReplacementOfItemsTask"> <tasklet > <batch:chunk reader="personItemReader" writer="edsItemDetailRepWriter" commit-interval="1"/> </tasklet> <next on="*" to="mailEndOkStep"/> </step> <!-- MAIL STEPS --> <batch:step id="mailErrorCounterStep" > <batch:tasklet ref="mailErrorCounterTasklet"/> <end on="*" /> </batch:step> <batch:step id="mailErrorReadHTStep" > <batch:tasklet ref="mailErrorReadHTTasklet"/> <end on="*" /> </batch:step> <batch:step id="mailErrorReadScreeningRuleStep" > <batch:tasklet ref="mailErrorReadScreeningRuleTasklet"/> <end on="*" /> </batch:step> <batch:step id="mailErrorValidFileStep" > <batch:tasklet ref="mailErrorValidFileTasklet"/> <end on="*" /> </batch:step> <batch:step id="mailErrorDeciderStep" > <batch:tasklet ref="mailErrorDeciderTasklet"/> <end on="*" /> </batch:step> <batch:step id="mailEndOkStep" > <batch:tasklet ref="mailEndItemsWriterTasklet"/> <end on="*" /> </batch:step> </job>
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code