Relative Content

Tag Archive for xmlspring-integration

Existing files on directory are not being polled/process when application restarts

I’m using spring integration xml. I have a file inbound channel adapter with a poller of fixed-rate=1000. I’m also using AcceptFileOnlyOnce filter and taskExecutor with multiple threads.
My directory is /apps/emailService/input. Let’s say there’s 10k files in that directory and I restart my application. It will just start and not do anything to the current existing files. Sometimes even incoming files are not processed if there’s already files in the current directory.