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:
committed by
Michael Minella
parent
6863ace44d
commit
28e2c14e60
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user