-
Feb 15th, 2008, 01:57 AM
#1
Kill Job in Spring Batch
Hi all,
Any one know how to kill a job in the Spring Batch ?
My consideration is that if a customized ItemReader/Writer or a customized Tasklet costs too much CPU/MEM consumption. how can I kill the job by Spring Batch? It seems the JobExecution.stop method doesn't reach to the Tasklet.
Is there any mechanism that Spring Batch will timeout the Tasklet and terminate the job gracefully ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules