Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-1072 camel-ftp - option for upload suffix
  3. CAMEL-828

File component - write to temp file and rename to real name startegy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 2.0-M1
    • camel-core
    • None

    Description

      When producing files an idea is to write to a temp file that has a name pattern that will be skipped by consumers (such as starting with a dot) and then after the write rename the file to the correct name.
      Then the consumers wont need to use exotic locking to get exclusive read access to the file. Works on all file systems.

      There is a nabble discussion on this issue somewhere.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: