GH-171 Fix SFTP Supplier
Related to: https://github.com/spring-cloud/stream-applications/issues/171 It might not be necessary in real world, but with `SshServer` we fail when we disconnect the session and cannot connect it back because that server decides to die for a strange reason like no connections. * Upgrade to SSHD 2.7.0 * Wrap default SFTP SF into a `CachingSessionFactory` to keep sessions opened and don't let the server to die because on connections from clients * Reenable SFTP Supplier tests
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<description>file consumer</description>
|
||||
|
||||
<properties>
|
||||
<sshd-core.version>1.6.0</sshd-core.version>
|
||||
<sshd-sftp.version>2.7.0</sshd-sftp.version>
|
||||
<apache-ftpserver.version>1.1.1</apache-ftpserver.version>
|
||||
<awaitility.version>4.0.3</awaitility.version>
|
||||
</properties>
|
||||
@@ -47,8 +47,8 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.sshd</groupId>
|
||||
<artifactId>sshd-core</artifactId>
|
||||
<version>${sshd-core.version}</version>
|
||||
<artifactId>sshd-sftp</artifactId>
|
||||
<version>${sshd-sftp.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
||||
Reference in New Issue
Block a user