This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring Batch Flat File  RSS feed

 
yee mon zaw
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I am now working with Spring Batch and got a problem in Flat File writing,closing and compressing. What I mean to do is to write a flat file, compress it and send to the respective somewhere. Before compressing, I have to close the file. Well this is fine, but the problem is that if I close the file there is nothing which have been written earlier. Meanwhile,if the file is not closed, I cannot do the compressing. Thus I would like to know how to close properly a file or something else that will work. Please kindly give some suggestions and do me a favor for that.

Thanks and Regards

rom
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!