已经使用delete-source-files从源路径中删除文件了。
<int-file:outbound-gateway id="mover" request-channel="moveInput"
reply-channel="output"
directory="${output.directory}"
mode="REPLACE" delete-source-files="true"/>
同样,我想知道s3-outbound-gateway的属性值是多少 删除源文件。
<integration:transformer expression ="headers.originalFile" input-channel="filesChannel" output-channel="filesS3Channel"/>
<int-aws:s3-outbound-gateway id="s3File"
request-channel="filesS3Channel"
reply-channel="filesreplyChannel"
transfer-manager="transferManager"
bucket="${s3.bucket}"
command="UPLOAD">