Announcement Announcement Module
Collapse
No announcement yet.
Job lifecycle when no records in Database? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Job lifecycle when no records in Database?

    Hi,


    In my requirement a new job will started every 5 mins. The ItemReader fetches 50 records from DB and ItemWriter writes it to a XMLFile.

    My Problem here is some times ItemReader won't get any Data from DB , bcoz it processed all records , In that cases when the Job will die?

    Is there any ways to kill the Job when we don't get Data from DB.

    Some one can explain the LifeCyle of Job with ItemReader,ItemWriter.
Working...
X