2017-04-21 28 views
0

Spring Integration SFTPの接続タイムアウトを設定できますか?Spring Integration SFTPの接続タイムアウトを設定するSFTP

<bean id="defaultSftpSessionFactory" 
     class="org.springframework.integration.sftp.session.DefaultSftpSessionFactory"> 
    <property name="host" value=""/> 
    <property name="privateKey" value=""/> 
    <property name="privateKeyPassphrase" value=""/> 
    <property name="port" value=""/> 
    <property name="user" value=""/> 
    <property name="serverAliveInterval" value="100000"/> 
    <property name="serverAliveCountMax" value="5"/> 
    <property name="timeout" value="100000"/> 
</bean> 

serverAliveIntervalserverAliveCountMaxタイムアウト接続タイムアウトに関連しているもの任意の違いはありません。

答えて

0

いくつかの一般的なプロパティはセッションファクトリに露出している(バージョン4.0以降、これが今のconnecttimeout、defaultTimeoutとdataTimeoutを含ん)

参照文書ftp-session-factory

関連する問題