I'm using the SimpleJobLauncher Thread Pool task executor to queue jobs. Let's say, I have three jobs
<job id="job1">
<step ="jobStep1">
<chunk>
</chunk>
</step>...
Type: Posts; User: scrollins; Keyword(s):
I'm using the SimpleJobLauncher Thread Pool task executor to queue jobs. Let's say, I have three jobs
<job id="job1">
<step ="jobStep1">
<chunk>
</chunk>
</step>...
I'm using SimpleJobRepository as my job repo
<bean id="jobRepository"
class="org.springframework.batch.core.repository.support.SimpleJobRepository"
scope="singleton">
<constructor-arg...
Worked. Thanks for your help on that.
dm_k,
I want to store the user in case another user tries to kick off the job. If its currently running, i want to display to user2 that user1 is running the job. I figured out a way to do this.
Good point about getting the last status or the last ResultStatus. I'm using chunk and set commit-interval=10. Therefore, My writer will be called N/10 times. I'll look to see if I can figure the...
Is it possible to return a DTO object from my ItemWriter? This is my Writer class
public class Transactionsriter implements ItemWriter<Transaction> {
@Autowired
private TransactionService...
How do I add custom meta data to a Spring Batch job? We are currently using Spring batch to kick off jobs from our web app. I want to be able to store the user who kicked off the job along w/ the...