Merge branch 'main' into 4.0.x

This commit is contained in:
Moritz Halbritter
2025-06-12 12:44:16 +02:00

View File

@@ -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();
}
}