Hi, I'm new to apache camel framework and i'm using *2.15.1* version. My use case is to poll aws s3 bucket and download newly created files from it and for that i'm doing as follows
*camel-route* from("aws-s3://" + Constants.S3_BUCKET + "?amazonS3Client=#client&deleteAfterRead=false") .routeId("awsFileCopyRoute") .log(LoggingLevel.INFO, "awsFileCopyRoute", "Camel AWS Key: ${header.CamelAwsS3Key}") .to("file://" + Constants.REQ_FOLDER + "?fileName=${header.CamelAwsS3Key}"); the awsS3Client "client" i'm setting in applicationContext.xml as follows <bean id="defaultAWSCredentialsProviderChain" class="com.amazonaws.auth.DefaultAWSCredentialsProviderChain" /> <bean id="clientConfiguration" class="com.amazonaws.ClientConfiguration" /> <bean id="client" class="com.amazonaws.services.s3.AmazonS3Client"> <constructor-arg ref="defaultAWSCredentialsProviderChain" /> <constructor-arg ref="clientConfiguration" /> </bean> My issue is the camel is polling and downloading same file again and again. I want camel to download the files from aws s3 which doesn't exists in Constants.REQ_FOLDER and refrain camel to download files which already exists Can anyone please help me !! Regards, Raghav -- View this message in context: http://camel.465427.n5.nabble.com/Camel-s3-consumer-polling-the-same-file-every-time-tp5784157p5784458.html Sent from the Camel - Users mailing list archive at Nabble.com.