Announcement Announcement Module
Collapse
No announcement yet.
Infinite loop customreader-processor-customWriter Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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..

  • #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.

    Comment


    • #3
      thanks mminella, i missed returning null..its working fine now

      Comment

      Working...
      X