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

camel-file - Changed read-lock to keep state between polls to allow to be faster

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 4.x
    • camel-core, camel-ftp
    • None
    • Unknown

    Description

      See nabble
      http://camel.465427.n5.nabble.com/sftp-endpoint-is-not-as-performant-as-expected-tp5773654p5773879.html

      Yeah the current changed read-lock afair don't keep state between
      polls. So we could look into one that does that, and do a full scan of
      all the files, and then do a change detect on all files all together
      and make up which ones hasn't changed. And that way can react faster
      than currently.

      Now that may require doing more file directory listings to gather all
      those files and their timestamps / size to see which one has changed,
      instead of monitoring a single file one by one. Also it may mean that
      files can be processed out of order, if a file sort isn't must be
      strictly followed.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: