使用spring集成将远程同步到本地目录时出错

时间:2015-05-13 16:51:31

标签: spring-integration

我有下一个错误:

错误com ... ErrorHandler - 使用null参数接收错误响应org.springframework.integration.MessagingException:同步远程本地目录时出现问题

使用spring integration 2.2.6,我正在使用带有下一个配置的入站通道适配器:

<int-sftp:inbound-channel-adapter id="sftpInbound"
    channel="sftpInboundChannel" session-factory="sftpClientFactory"
    auto-startup="true" filename-pattern="*.csv"
    auto-create-local-directory="true" delete-remote-files="true"
    remote-directory="${ftp.remoteInputDirectory}" local-directory="${ftp.localTempFolder}">
    <int:poller fixed-rate="1000" />
</int-sftp:inbound-channel-adapter>

此错误随机发生。如果有人知道为什么会发生这种情况,或者可能是在上面的配置中。

0 个答案:

没有答案
相关问题