Hi , I am new to spring batch ..., i am able to read data process it and write to file but this is happening for infinite times how to stop it where i m missin logic ...please help me out..thanks in advance..
Printable View
Hi , I am new to spring batch ..., i am able to read data process it and write to file but this is happening for infinite times how to stop it where i m missin logic ...please help me out..thanks in advance..
Does your ItemReader ever return null? If it doesn't, it will process for ever. Returning null is the signal to the step that the input has been exhausted.
thanks mminella, i missed returning null..its working fine now