camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Configuration of connection timeout when transmitting files to remote SFTP server?
Date Tue, 06 Jul 2010 09:20:54 GMT
On Tue, Jul 6, 2010 at 11:05 AM, Mattias Severson <matsev@gmail.com> wrote:
>
> I may have found a suitable method, how about the
> http://grepcode.com/file/repo1.maven.org/maven2/com.jcraft/jsch/0.1.42/com/jcraft/jsch/Session.java#Session.connect%28int%29
> Session.connect(int connectTimeout)  method?
>

Great thats the connect timeout, I wonder if its in seconds or millis ?
Then create a ticket in JIRA so we can add a connection timeout option
and have camel-ftp configure this for you.


> I also found the
> http://grepcode.com/file/repo1.maven.org/maven2/com.jcraft/jsch/0.1.42/com/jcraft/jsch/Session.java#Session.setTimeout%28int%29
> Session.setTimeout(int timeout)  that may correspond to the
> http://commons.apache.org/net/api/org/apache/commons/net/ftp/FTPClient.html#setDataTimeout%28int%29
> FTPClient.setDataTimeout(int dataTimeout)  method.
>
> Unfortunately, I have not found any documentation on JSCH itself, so these
> are my best guesses.
>
> /Mattias
> --
> View this message in context: http://camel.465427.n5.nabble.com/Configuration-of-connection-timeout-when-transmitting-files-to-remote-SFTP-server-tp696546p853217.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message