Results 1 to 2 of 2

Thread: FlatFileItemWriter - creates empty line in the end

  1. #1
    Join Date
    Oct 2009
    Location
    Minneapolis, MN
    Posts
    137

    Question FlatFileItemWriter - creates empty line in the end

    Do we have a setting to remove these empty / extra lines before creating the file?

    we are using the configuration something like this

    <batch:chunk
    reader="DBReader"
    processor="xxxProcessor"
    writer="xxxFileWriter"
    commit-interval="50"/>

    And FileWriter is using a Delimited line Aggregator.

    Thanks
    Srinivas

  2. #2
    Join Date
    Mar 2006
    Posts
    312

    Default

    Specifically, how would you suggest dealing with the extra lineSeparator appended by FlatFileItemWriter when writing files that do not have a footer?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •