Spring Batch Item Reader is executing only once

后端 未结 2 1302
星月不相逢
星月不相逢 2021-01-03 07:12

Trying to implement Spring batch,but facing a strange problem,Our ItemReader class is executing only once.

Here below is the detail.

2条回答
  •  日久生厌
    2021-01-03 07:54

    After hours of time wasting,the problem seems to be solved now,i have configured allow-start-if-complete="true" in tasklet.Now Batch Item Reader is executing as per schedule.

    
        
          
            
          
        
      
    

提交回复
热议问题