spring集成在sftp之后将文件备份到远程服务器

时间:2014-03-26 00:21:14

标签: spring integration adapter sftp outbound

我正在使用出站通道适配器将文件sftp转移到其他位置...在sftp之后,我想把它备份到另一个位置......只是想知道如何做同样的事情?是否可以将其重定向到其他渠道?

我的sftp配置在下面。

<integ-sftp:outbound-channel-adapter id="sftpOutboundAdapter"
                session-factory="sftpSessionFactory" `enter code here`
                channel="sftp-push" auto-create-directory="true" 
                charset="UTF-8"
                remote-directory-expression="headers['remotedir']"   />

0 个答案:

没有答案