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

SFTP: Enable configuration of bulk requests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.17.1, 2.18.0
    • camel-ftp
    • None
    • Novice
    • Patch

    Description

      JSch uses multiple requests to pull files from / push files to a SFTP server. The number of bulk requests can be configured via ChannelSftp#setBulkRequests(int). The API documentation states that increasing this value may slightly improve file transfer speed at the cost of memory usage.

      The configuration option should be made available in Camel.

      Background

      I came across an issue with a specific SFTP server product. I tracked this issue down to the way bulk requests are sent to the SFTP server. To cut a long story short (details here) setting the number of bulk requests to 1 solves the problem, so it would be nice to have this option available via Camel.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            thokuest Thomas Küstermann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: