add orderby to file/ftp/sftp component to get files in a reliable order (e.g. 
created date)
-------------------------------------------------------------------------------------------

                 Key: CAMEL-1112
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1112
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 1.5.0
         Environment: Windows XP, JDK 1.5, Apache Camel 1.5
            Reporter: Dario Sanna


when reading files from file,ftp/sftp component, it is often neccesarry to get 
the files in a predifined order (e.g. created date or filename).
to solve this, an extra uri parameter could be used, to set the order of files 
beeing processed.
ordering can be done after reading the file-list.

i know this can also be solved by applying a resequencer pattern in the route, 
but i think for large files it would be hard to apply this.
also a processing in an created date order would be more natural.





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to