camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9808) SFTP: Enable configuration of bulk requests
Date Mon, 04 Apr 2016 12:39:25 GMT

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

Claus Ibsen commented on CAMEL-9808:
------------------------------------

Thanks I put some comments in the PR as there is some code formatting changes needed.

You can read about building with checkstyle here
http://camel.apache.org/building

> 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
>             Fix For: 2.18.0
>
>
> 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)

Mime
View raw message