Skip to content

Commit 6369a74

Browse files
committed
Use the TaskExecutorJobLauncher instead of SimpleJobLauncher
Fixes gh-1017
1 parent e302b13 commit 6369a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/resources/org/mybatis/spring/sample/config/applicationContext-job.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
<batch:job-repository/>
5656

57-
<bean id="jobLauncher" class="org.springframework.batch.core.launch.support.SimpleJobLauncher">
57+
<bean id="jobLauncher" class="org.springframework.batch.core.launch.support.TaskExecutorJobLauncher">
5858
<property name="jobRepository" ref="jobRepository"/>
5959
</bean>
6060

0 commit comments

Comments
 (0)