The Session.connect(int timeout) method eventually calls Socket.setSoTimeout(int timeout), which implies that the time unit of the timeout is milliseconds.
I have created an issue: https://issues.apache.org/activemq/browse/CAMEL-2912 https://issues.apache.org/activemq/browse/CAMEL-2912 /Mattias -- View this message in context: http://camel.465427.n5.nabble.com/Configuration-of-connection-timeout-when-transmitting-files-to-remote-SFTP-server-tp696546p909735.html Sent from the Camel - Users mailing list archive at Nabble.com.