Announcement Announcement Module
Collapse
No announcement yet.
How can I insert a Header after process all the records? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I insert a Header after process all the records?

    Iím in application to process a flat file with thousands of records. Then the application creates an output flat file with a header, details for each record and footer. The header must contain the total count of valid and invalid records. How can I insert a header at the top of the output file after write down all the detailed and footer records?

    I'm using FlatFileItemWriter bean, but the headerCallback property it is always written at the beginning of the process, but because the needs of data, header needs to be process at the top after process the footer.

    Any idea?
    Thanks,
Working...
X