commit
fcbe8d630e
|
@ -104,7 +104,7 @@ public class BatchAutoConfiguration {
|
|||
|
||||
private final PlatformTransactionManager transactionManager;
|
||||
|
||||
private final TaskExecutor taskExector;
|
||||
private final TaskExecutor taskExecutor;
|
||||
|
||||
private final BatchProperties properties;
|
||||
|
||||
|
@ -123,7 +123,7 @@ public class BatchAutoConfiguration {
|
|||
ObjectProvider<JobParametersConverter> jobParametersConverter) {
|
||||
this.dataSource = batchDataSource.getIfAvailable(() -> dataSource);
|
||||
this.transactionManager = batchTransactionManager.getIfAvailable(() -> transactionManager);
|
||||
this.taskExector = batchTaskExecutor.getIfAvailable();
|
||||
this.taskExecutor = batchTaskExecutor.getIfAvailable();
|
||||
this.properties = properties;
|
||||
this.batchConversionServiceCustomizers = batchConversionServiceCustomizers.orderedStream().toList();
|
||||
this.executionContextSerializer = executionContextSerializer.getIfAvailable();
|
||||
|
@ -180,7 +180,7 @@ public class BatchAutoConfiguration {
|
|||
|
||||
@Override
|
||||
protected TaskExecutor getTaskExecutor() {
|
||||
return (this.taskExector != null) ? this.taskExector : super.getTaskExecutor();
|
||||
return (this.taskExecutor != null) ? this.taskExecutor : super.getTaskExecutor();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue