IN PROGRESS - issue BATCH-422: Provide ability to specify exception types as well as skip limit in DefaultStepFactoryBean

http://jira.springframework.org/browse/BATCH-422

DefaultFactoryBean now uses SimpleItemHandler (instead of unconfigured ItemSkipPolicyItemHandler)
This commit is contained in:
robokaso
2008-03-12 15:07:42 +00:00
parent 8fff682219
commit 288fd40825

View File

@@ -205,7 +205,7 @@ public class DefaultStepFactoryBean extends AbstractStepFactoryBean {
step.setStepOperations(stepOperations);
ItemSkipPolicyItemHandler itemHandler = new ItemSkipPolicyItemHandler(itemReader, itemWriter);
ItemHandler itemHandler = new SimpleItemHandler(itemReader, itemWriter);
setItemHandler(itemHandler);
step.setItemHandler(itemHandler);