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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user