FTP Outbound test: use CachingSessionFactory

https://build.spring.io/browse/INTSAMPLES-NIGHTLY
This commit is contained in:
Artem Bilan
2017-04-11 12:56:20 -04:00
parent 5956cf8cfb
commit 13c22ceb28

View File

@@ -18,12 +18,16 @@
<property name="password" value="${password}"/>
</bean>
<bean id="cachingSessionFactory" class="org.springframework.integration.file.remote.session.CachingSessionFactory">
<constructor-arg ref="ftpClientFactory"/>
</bean>
<int:channel id="ftpChannel"/>
<int-ftp:outbound-channel-adapter id="ftpOutbound"
channel="ftpChannel"
remote-directory="/"
session-factory="ftpClientFactory">
session-factory="cachingSessionFactory">
<int-ftp:request-handler-advice-chain>
<int:retry-advice />
</int-ftp:request-handler-advice-chain>