You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ram kumar <ra...@gmail.com> on 2015/06/15 14:38:12 UTC

s3 query

Hi,

my use case is a dynamic consumer where ,

.setHeader(S3Constants.KEY, simple("query" + System.nanoTime())) -> this
should change according to time
.to("aws-s3://camel-qq?accessKey=&secretKey=");

can anyone help me
Thanks

Re: s3 query

Posted by Willem Jiang <wi...@gmail.com>.
I’m not quit sure about the meaning of dynamic consumer.
You can setup the CamelAwsS3Key header to the S3Producer, but you cannot setup the header in the S3Consumer side.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On June 15, 2015 at 8:38:21 PM, ram kumar (ramkumarrock3@gmail.com) wrote:
> Hi,
>  
> my use case is a dynamic consumer where ,
>  
> .setHeader(S3Constants.KEY, simple("query" + System.nanoTime())) -> this
> should change according to time
> .to("aws-s3://camel-qq?accessKey=&secretKey=");
>  
> can anyone help me
> Thanks
>