s3 query

2015-06-15 Thread ram kumar
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

2015-06-15 Thread Willem Jiang
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 (ramkumarro...@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