partitionJob.xml shouid demonstrate asynch process

The README file on samples describes  the partitionJob as an example of the asynch process feature, so I changed the class of the taskExecutor to SimpleAsyncTaskExecutor
This commit is contained in:
guilhermerama
2015-11-04 09:24:35 -03:00
committed by Michael Minella
parent 6863ace44d
commit 28e2c14e60

View File

@@ -16,7 +16,7 @@
<property name="resources" value="classpath:data/iosample/input/delimited*.csv" />
</bean>
<bean id="taskExecutor" class="org.springframework.core.task.SyncTaskExecutor" />
<bean id="taskExecutor" class="org.springframework.core.task.SimpleAsyncTaskExecutor" />
<step id="step1" xmlns="http://www.springframework.org/schema/batch">
<tasklet transaction-manager="transactionManager">