I have configured a standard camel-file endpoint that reads files from a local directory before putting the contents of the file onto an ActiveMQ queue.
The problem is that once a file with a certain name has been processed, subsequent files with the same name are ignored.
1.) file "a.xml" arrives in input directory
2.) camel-file reads the file and put contents on JMS queue
3.) file "a.xml" arrives in input directory
4.) camel-file ignores the file
This is a serious concern as my sending system produces a file with a specific name every day and I cannot change that.
What can I do to process files with duplicate filenames?
There is a forum for Camel at FUSE Mediation Router where its best to discuss this.
However you can use the option consumer.alwaysConsume=true on the file endpoint to tell Camel to consume duplicated files anyway.
File documentation here: