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

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

    [ https://issues.apache.org/jira/browse/CAMEL-9808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15223959#comment-15223959 ] 

ASF GitHub Bot commented on CAMEL-9808:
---------------------------------------

GitHub user thokuest opened a pull request:

    https://github.com/apache/camel/pull/927

    CAMEL-9808: SFTP: Enable configuration of bulk requests

    This pull request makes it possible to configure the number of bulk requests issued by JSch. Increasing the number of bulk requests may slightly improve transfer speed at the cost of memory usage.
    
    Usage:
    
        sftp://nosuchhost/workingdir?bulkRequests=64&...
    
    See [CAMEL-9808](https://issues.apache.org/jira/browse/CAMEL-9808) for details.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/thokuest/camel CAMEL-9808

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/927.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #927
    
----
commit f563517ddbc8b3569b98deafaad8936b129140b3
Author: Thomas Küstermann <th...@outlook.com>
Date:   2016-04-04T10:24:30Z

    Merge remote-tracking branch 'refs/remotes/apache/master'

commit 1e19ed04a93bc904a64974bbd2e536379f667003
Author: Thomas Küstermann <th...@outlook.com>
Date:   2016-04-04T11:05:36Z

    CAMEL-9808: Enable configuration of bulk requests

----


> 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)