You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Thomas Küstermann (JIRA)" <ji...@apache.org> on 2016/04/04 13:17:25 UTC

[jira] [Updated] (CAMEL-9808) SFTP: Enable configuration of bulk requests

     [ https://issues.apache.org/jira/browse/CAMEL-9808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Küstermann updated CAMEL-9808:
-------------------------------------
    Flags: Patch

> SFTP: Enable configuration of bulk requests
> -------------------------------------------
>
>                 Key: CAMEL-9808
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9808
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-ftp
>            Reporter: Thomas Küstermann
>
> 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.
> h4. 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|https://sourceforge.net/p/jsch/mailman/jsch-users/thread/AM4PR10MB01646456AD2C94D911BDA763E1880%40AM4PR10MB0164.EURPRD10.PROD.OUTLOOK.COM/#msg34933773]) setting the number of bulk requests to 1 solves the problem, so it would be nice to have this option available via Camel.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)