1 Reply Latest reply on Aug 19, 2009 4:57 AM by Claus Ibsen

    camel-file ignores duplicate filenames

    Gerhard van Staden Newbie

      Good day.


      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.


      For Example:

      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?