BATCH-1396: added step scope to completion policy in chunk parser

This commit is contained in:
Dave Syer
2011-03-19 16:45:43 +00:00
parent 23587e0855
commit 76da913c25

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/batch" xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/batch http://www.springframework.org/schema/batch/spring-batch-2.1.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<beans:import resource="common-context.xml" />
<job id="job">
<step id="s1">
<tasklet>
<chunk reader="reader" writer="writer" processor="processor" commit-interval="#{jobParameters['commit.interval']}"/>
</tasklet>
</step>
</job>
</beans:beans>