<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="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.2.xsd
	http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">

	<import resource="common-context.xml" />

	<job id="job" xmlns="http://www.springframework.org/schema/batch">
		<split id="split1" task-executor="taskExecutor">
			<flow>
				<step id="stop" parent="interruptibleStep" />
			</flow>
			<flow>
				<step id="s1" parent="step1" />
			</flow>
		</split>
	</job>
	<!-- Can't use async with Map JobRepository -->
	<bean id="taskExecutor" class="org.springframework.core.task.SyncTaskExecutor" />

	<bean id="interruptibleStep" parent="step1">
		<property name="tasklet">
			<bean
				class="org.springframework.batch.core.configuration.xml.InterruptibleTasklet">
				<property name="stepNamesList" ref="stepNamesList" />
			</bean>
		</property>
	</bean>
</beans>
