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

2016-04-04 Thread Claus Ibsen (JIRA)

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

Claus Ibsen commented on CAMEL-9808:


See here how to be able to edit the docs
http://camel.apache.org/how-do-i-edit-the-website.html

I have updated the wiki page with the new option

> 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
>Assignee: Claus Ibsen
> Fix For: 2.17.1, 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)


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

2016-04-04 Thread JIRA

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

Thomas Küstermann commented on CAMEL-9808:
--

Is there any documentation that requires ti be updated and I am allowed to 
contribute to?

> 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
>Assignee: Claus Ibsen
> Fix For: 2.17.1, 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)


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

2016-04-04 Thread ASF GitHub Bot (JIRA)

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

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

Github user thokuest closed the pull request at:

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


> 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
>Assignee: Claus Ibsen
> Fix For: 2.17.1, 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)


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

2016-04-04 Thread Claus Ibsen (JIRA)

[ 
https://issues.apache.org/jira/browse/CAMEL-9808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


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

2016-04-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CAMEL-9808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 
Date:   2016-04-04T10:24:30Z

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

commit 1e19ed04a93bc904a64974bbd2e536379f667003
Author: Thomas Küstermann 
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)