Re: Timeout Exception in S3 download

2015-01-12 Thread Shing Hing Man
I've  added the delay and maxMessagePerPoll, as you suggested,  to the path, but I still get the same timeout exception. Shing On Monday, 12 January 2015, 2:10, Willem Jiang willem.ji...@gmail.com wrote: Can you increase the delay option and maxMessagePerPoll to see if the error

Re: Timeout Exception in S3 download

2015-01-11 Thread Willem Jiang
Can you increase the delay option and maxMessagePerPoll to see if the error is still there? from(aws-s3://MyBucket?amazonS3Client=#clientdelay=5000maxMessagesPerPoll=5) .to(mock:result”); -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Timeout Exception in S3 download

2015-01-10 Thread Shing Hing Man
I am using Apache Camel 2.14.1. I have set up  the following S3 route to download from a S3 Bucket. String bucketName = myBucket; String prefix = out; String awsURLTemplate=aws-s3://%s?accessKey=%ssecretKey=RAW(%s)region=eu-west-1prefix=%sdeleteAfterRead=false; final String awsURL =