2016-03-08 43 views
0

我使用AWS-S3成分消耗一些文件,我想做到这一点使用了cron表达式的时间表,这就是我想:骆驼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 * ? *}] 

我也试过URLEncoding的cron表达式,但它没有帮助。

我错过了什么? s3组件是否与调度程序不兼容?

+0

你使用什么版本的骆驼? –

+0

嗨,克劳斯,我正在使用2.16.2 –

+0

这可能是一个错误,我没有潜入此。你可以登录一张票,或者明天在irc聊天中试着给我打电话 –

回答