Apr 11th, 2008, 11:09 AM
I tried throwing the RuntimeException from afterStep of step-1 (so as to terminate the job and not to proceed with step-2). However, this exception gets handled in ItemOrientedStep and continues with the step-2.
Originally Posted by dkaminsky
May be throwing RuntimeException in the Writer can terminate the job (as per 4.5.3 of the doc...but i need to terminate the job from afterStep, i think)
Why does "stepExecution.setTerminateOnly()" don't work? Do i need completion policy or something?
Apr 14th, 2008, 12:31 PM
I did read 3.10.1. But not sure how to register the wrapped writer as an ItemStream? (Wrapped writer extends AbstractItemStreamItemWriter)
Originally Posted by Dave Syer