I have a spring integration file polling implementation which is polling a specific directory, during the process file will be picked and file related metadata being passed to downstream systems. Some scenarios same file I wanted to process again from file polling directory, currently which is not accepting. I belive some state will be maintained while processing that file first time, but I wanted to process that, is there anyway to allow duplicate file processing even if it's processed already. Which filter needs to overrided? Also tried preventDuplicates is false , no luck. Tried with some custom filter which implements FileListFilter, but it's not being invoked from my DSL filter. Any suggestions or cleaner way?
Tried custom implementation not worked out`
your text
Yes. By default files are not processed again and again. The
AcceptOnceFileListFilter
is used by default.You need to look into
AcceptAllFileListFilter
: