骆驼 AWS S3 Cron 计划
Camel AWS S3 Cron Schedule
我正在使用 aws-s3 组件来使用一些文件,我想使用带有 cron 表达式的计划来执行此操作,这就是我正在尝试的:
from("aws-s3://myBucketName?" +
"accessKey=*******&" +
"secretKey=********&" +
"prefix=myFiles&" +
"deleteAfterRead=false&" +
"scheduler=quartz2&" +
"scheduler.cron=0+0/1+*+1/1+*+?+*")
但是我收到这个错误:
There are 1 scheduler parameters that couldn't be set on the endpoint.
Check the uri if the parameters are spelt correctly and that they are
properties of the endpoint. Unknown parameters=[{cron=0 0/1 * 1/1 * ? *}]
我也试过对 cron 表达式进行 URLEncoding,但没有用。
我错过了什么? s3组件是否与调度器不兼容?
这是 camel-aws
中的一个错误,我已经复制并正在修复中。
我记录了一张工单:https://issues.apache.org/jira/browse/CAMEL-9686
应该会在下一个版本中修复。
我正在使用 aws-s3 组件来使用一些文件,我想使用带有 cron 表达式的计划来执行此操作,这就是我正在尝试的:
from("aws-s3://myBucketName?" +
"accessKey=*******&" +
"secretKey=********&" +
"prefix=myFiles&" +
"deleteAfterRead=false&" +
"scheduler=quartz2&" +
"scheduler.cron=0+0/1+*+1/1+*+?+*")
但是我收到这个错误:
There are 1 scheduler parameters that couldn't be set on the endpoint.
Check the uri if the parameters are spelt correctly and that they are
properties of the endpoint. Unknown parameters=[{cron=0 0/1 * 1/1 * ? *}]
我也试过对 cron 表达式进行 URLEncoding,但没有用。
我错过了什么? s3组件是否与调度器不兼容?
这是 camel-aws
中的一个错误,我已经复制并正在修复中。
我记录了一张工单:https://issues.apache.org/jira/browse/CAMEL-9686
应该会在下一个版本中修复。