Re: Camel processing single file twice in 'file' endpoint

2018-01-02 Thread Bhuvan Gupta
Onder, I am running camel in default mode. i.e [1] setup pom [2] run the sample shared. I am not doing any specific configuration On Tue, Jan 2, 2018 at 8:38 PM, Onder SEZGIN wrote: > hi, did you check default behaviour of file consumer depending on your > environment and readLock option on th

RE: AWS_S3 consumer unable to delect object with another S3 producer

2018-01-02 Thread Yi Yan
Hi Willem, Thanks for your reply, it contains the 'aws-s3:' prefix actually just missing it when I renamed the bucket name, the result is the same. from("aws-s3:source_bucket?amazonS3Client=#AWSConnection1&fileName=test1.txt&deleteAfterRead=true") .setHeader("CamelAwsS3Key", constant("test1_co

Re: AWS_S3 consumer unable to delect object with another S3 producer

2018-01-02 Thread Willem Jiang
Hi, I don't see the aws-s3: prefix in you to endpoint. Can you double check it? Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Wed, Jan 3, 2018 at 10:06 AM, Yi Yan wrote: > Hi, > > I want to move(

AWS_S3 consumer unable to delect object with another S3 producer

2018-01-02 Thread Yi Yan
Hi, I want to move(copy+delete) some objects from one AWS S3 bucket to another, so I created the configuration like below, but the source object was not deleted after running. from("aws-s3:SOURCE_BUCKET_NAME?amazonS3Client=#s3_client&fileName=test1.txt&deleteAfterRead =true") .setHeader("Camel

Camel JDBC producer custom type converter

2018-01-02 Thread Sujay Bawaskar
Hi, Is there any way to get particular column from result set into a specific type? For example I need to get timestamp stored in postgresql as below, but I am getting this object as java.sql.Timestamp. resultSet.getObject( "date", OffsetDateTime.class ) Another issue is with outputClass parame

Re: Camel processing single file twice in 'file' endpoint

2018-01-02 Thread Onder SEZGIN
hi, did you check default behaviour of file consumer depending on your environment and readLock option on the endpoint as well? On Tue, Jan 2, 2018 at 8:02 AM, Bhuvan Gupta wrote: > Hello nice people, > > We are using camel 2.17 with java 1.7 in our sample project and we defined > our route as: