Announcement Announcement Module
Collapse
No announcement yet.
Job is not going to failed state even when the Item Reader is throwing an exception. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Job is not going to failed state even when the Item Reader is throwing an exception.

    Job is getting set as COMPLETED even when the CustomItemReader has thrown and "UnexpectedInputException" is thrown.
    Is this the expected behavior??

    I would also like to know under what conditions a job will be get set to FAILED state?

    Regards,
    Ravi Shanker

  • #2
    Without seeing the code, I can't be sure. If an ItemReader throws an exception that is not retried or skipped, however, the framework should mark the step failed.

    Comment

    Working...
    X