我试图实现:
- 从 s3 目录中读取所有文件。
- 将所有文件复制到 s3 上的备份目录。
- 将所有文件内容聚合到一个文件中,并将其复制到 s3 上的另一个目录。
但我坚持在一次民意调查中阅读所有文件的第一点。
my from router :
aws-s3://${camel.bucket.name}?amazonS3Client=#s3Client&prefix=some_path_on_s3&deleteAfterRead=true&delay=100s
for example if, some_path_on_s3 -> has 2 files say first.txt and
second.txt
according to camel documentation, it has to read both the files in a
single poll, but is reading 1 file per poll.
I also tried with parameter, maxMessagesPerPoll=2 but no luck. It
still reads one file per poll.
有没有办法在一次轮询中从 s3 目录中获取所有文件?