-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Job scoped steps can not be used within FlowBuilder #670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@ArtyomGabeev Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@ArtyomGabeev Thank you for signing the Contributor License Agreement! |
I made a comment on this issue. Let's discuss there before merging this PR. |
In general step can be annotated with @JobScope in order to have access to jobParameters. @mminella , you right, it was my mistake when I mentioned StepScope in this issue, because it doesn't make sense. BTW: I and original author have an issue with JobScoped step. |
me too! |
I have a way to use jobscope or stepscope for FlowBuilder. please see the configuration below: /**
// .next(snglSetlStatFeedStep)
the first: the second: do not use @JobScope under method splitFlow, use @JobScope under financeStatFlow and nonFinanceStatFlow. because delay initialise bean. |
LGTM. Rebased and merged as 0c50079. Thank you for your contribution! |
Please refer for more details: https://jira.spring.io/browse/BATCH-2747