Hi Chiru, FileSplitter has a scanInterval property. The FileSplitter scans the input files after every scan interval. But it copies a file again only if it's modified. Check the scan() method in FileSplitter class. Is your input file getting modified frequently?
-Priyanka On Wednesday, October 14, 2015 at 4:44:14 PM UTC+5:30, Chiru wrote: > > Hi All, > > Iam reading a file from the directory using FileSplitter, but it is > reading the same file again and again. > -> Is there a way to restrict FileSplitter to read the same file again? > > Thanks - Chiru >
