Do you use job scoped beans? #4869
fmbenhassine
started this conversation in
Polls
Replies: 1 comment
-
In most cases, it’s used to configure beans associated with JobParameters. @Bean
@JobScope
public HelloDate2Tasklet helloDate2Tasklet(
@Value("#{jobParameters['helloDate']}") LocalDate date) {
return new HelloDate2Tasklet(date);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Do you use job scoped beans (ie
@JobScope
)? If yes, please elaborate on your use case by adding a comment with an example.8 votes ·
Beta Was this translation helpful? Give feedback.
All reactions