Announcement Announcement Module
Collapse
No announcement yet.
restart.count is always 0 in FlatFileItemWriter Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • restart.count is always 0 in FlatFileItemWriter

    Hi,

    I noticed that restart.count is always 0 in FlatFileItemWriter, in the source code it's never actually updated. written seems to hold the # of lines written since last restart, so should restart.count have the previous total number of lines written?

    Thanks and regards,
    Angel

  • #2
    I think from the name it was supposed to count the number of restarts (not the number of lines written). The fact that it isn't used is an accident (http://jira.springframework.org/browse/BATCH-744).
    Last edited by Dave Syer; Jul 25th, 2008, 03:01 AM. Reason: spelling

    Comment


    • #3
      Thanks Dave.

      Comment

      Working...
      X