0
是否可以为弹簧集成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>
serverAliveInterval,serverAliveCountMax和超时不做什么与连接超时任何区别。