Add a JobRegistryBeanPostProcessor in the default batch configuration

Resolves #4245
This commit is contained in:
Mahmoud Ben Hassine
2023-09-11 13:51:05 +02:00
parent df4bf84688
commit 70e8a1c497
6 changed files with 56 additions and 0 deletions

View File

@@ -222,6 +222,8 @@ example has been given an `id` so that it can be included in child
contexts (for example, as a parent bean definition) and cause all jobs created
there to also be registered automatically.
As of version 5.1, the `@EnableBatchProcessing` annotation automatically registers a `jobRegistryBeanPostProcessor` bean in the application context.
[[automaticjobregistrar]]
=== AutomaticJobRegistrar