-
Nov 28th, 2012, 01:22 AM
#1
Infinite loop customreader-processor-customWriter
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..
-
Nov 30th, 2012, 10:13 AM
#2
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.
-
Dec 5th, 2012, 03:53 AM
#3
thanks mminella, i missed returning null..its working fine now
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules