有一个弹簧启动应用程序,我正在尝试使用单个 S3 出站适配器将文件放入多个 S3 存储桶中。
想知道是否可以使用 spring-integration-aws 本身使用单个出站适配器将文件放置在多个存储桶中(不使用 aws -sdk)
任何建议都会有所帮助。
S3:出站适配器:
<int-aws:s3-outbound-channel-adapter id="filesS3Mover"
channel="filesS3MoverChannel"
transfer-manager="transferManager"
bucket="${aws.s3.target.bucket}"
key-expression="headers.targetsystem-folder/headers.file_name"
command="UPLOAD">
</int-aws:s3-outbound-channel-adapter>