Spring Batch Continues to Process even after exception is thrown
I wanted to test in a multi-threaded setup , how will the batch behave if an exception is thrown. So I forcefully throw a RuntimeException in my code. But even after throwing the exception the step continues & rest of the threads continue to process the other records. How ever the status is updated as "FAILED". The log shows the exception as well. So my question is shouldn't have the step been stopped immediately after the exception is thrown ?.