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

SFTP: Enable configuration of bulk requests

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.17.1, 2.18.0
    • Component/s: camel-ftp
    • Labels:
      None
    • Estimated Complexity:
      Novice
    • Flags:
      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

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              thokuest Thomas K├╝stermann
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: