Announcement Announcement Module
Collapse
No announcement yet.
DefaultFlatFileInputSource and removal of processed files Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DefaultFlatFileInputSource and removal of processed files

    We use the DefaultFlatFileInputSource together with RestartableItemProviderTasklet.

    How should we take care of removal of the processed file after a successfull process?

    Geir

  • #2
    You *could* create a second step that deletes the file. However, I'm always wary of doing any file moving or manipulation within batch jobs. This is because once the output has been successful, the job is logically done, and any jobs (or other processes) depending upon it can begin. If you have a second step, or even a dependent job that is a shell script, the entire job stream could be held up by what is essentially housekeeping.

    Comment

    Working...
    X