我正在使用出站通道适配器将文件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']" />