Skip to content
Discussion options

You must be logged in to vote

Could you please guide me to examples to achieve the following, especially how Tasklet should be StoppableStep?

Conceptually, a tasklet is at a different level of abstraction than a step, so it should NOT be a StoppableStep, it should rather be a StoppableTasklet. It is the upper-level TaskletStep that will propagate the stop signal to the underlying tasklet.

Most of the repos are designed to have multiple Spring Batch Job beans. So how do I modify the below code so that I can start the specific job requested by the scheduler ("spring.batch.job.names")

In v6, the JobOperator was redesigned to use domain objects for job operations instead of primitive types (see #4845). Therefore, you …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by linsonmatrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants