So I have implemented error tolerant step but my job is still failing at the first error it encounters within the batchrecordprocessor
Within the batchrecordprocessor i have an external webservices being invoked and that may occasionally fail based on the request but I do not want the whole batch job to quit because of that.
How do I handle such a scenario. I tried catching the error and returning "null" for the processRecord(Object record) method thinking that would be the equivalent of a null record but it is not the case
What counts as a tolerable error ? Does it apply to any errors encountered within the batchrecordprocessor
Please help and thanks in advance
Pinned topic How does error tolerance work within the batchrecord processor
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-03-21T15:43:28Z at 2013-03-21T15:43:28Z by mowusua
Re: How does error tolerance work within the batchrecord processor2013-03-21T15:43:28ZThis is the accepted answer. This is the accepted answer.Working as implemented .I needed to restart server after implementing batch record processor to return null so the error stream is invoked and processing continues