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?
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.
