Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-1112

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 2.0-M1
    • camel-core
    • None
    • Windows XP, JDK 1.5, Apache Camel 1.5

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              oirad Dario Sanna
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: