TaskBatchAutoConfiguration now uses datasource from TaskConfigurer
resovles #252
This commit is contained in:
committed by
Michael Minella
parent
ce31582995
commit
1185421803
@@ -288,11 +288,7 @@ public class TaskBatchExecutionListenerTests {
|
||||
.setName("incorrectDataSource");
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public TaskBatchExecutionListenerFactoryBean taskBatchExecutionListener(TaskExplorer taskExplorer) {
|
||||
return new TaskBatchExecutionListenerFactoryBean(myDataSource(), taskExplorer);
|
||||
}
|
||||
|
||||
|
||||
@Bean
|
||||
public TaskConfigurer taskConfigurer() {
|
||||
|
||||
Reference in New Issue
Block a user