You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of v4.3, @EnableBatchProcessing auto-configures all infrastructure beans except a JobOperator. So as a user, I still need to create a JobOperator bean myself like:
Since all collaborators of the JobOperator (ie JobRepository, JobLauncher, JobRegistry, JobExplorer) are already created by @EnableBatchProcessing, this bean could also be created automatically by the annotation with those dependencies already set on it.
The text was updated successfully, but these errors were encountered:
fmbenhassine
changed the title
Auto-configure SimpleJobOperator with EnableBatchProcessing
Auto-configure SimpleJobOperator with EnableBatchProcessing and DefaultBatchConfiguration
Nov 23, 2022
As of v4.3,
@EnableBatchProcessing
auto-configures all infrastructure beans except aJobOperator
. So as a user, I still need to create aJobOperator
bean myself like:Since all collaborators of the
JobOperator
(ieJobRepository
,JobLauncher
,JobRegistry
,JobExplorer
) are already created by@EnableBatchProcessing
, this bean could also be created automatically by the annotation with those dependencies already set on it.The text was updated successfully, but these errors were encountered: