Description
Bug description
When using @AutoConfiguration
the JobExecutionDecider will behave different than when just using @Configuration
. Because @AutoConfiguration
is @Configuration(proxyBeanMethods=false)
you will get the same result with that setting.
If I use @Configuration(proxyBeanMethods=true)
I will get for my attached example the following order of my steps: step1, step2, step3.
If I use @Configuration(proxyBeanMethods=false)
I only get : step1, step2. So the Flow seems to be ended after the JobExecutionDecider.
Environment
Spring Batch 5.0.2, Java Version: 17.0.6, H2-Database
Steps to reproduce
Run attached project first with @Configuration
and after that with @AutoConfiguration
instead.
Expected behavior
Same behavior in the order of the execution of the steps.
Minimal Complete Reproducible example
Sample attached.
autoconfissue.zip