My DSL start is something like this:
from("aws-s3://" + s3_bucket_name + "?amazonS3Client=#amazonS3Client&deleteAfterRead=false&fileName=myfile.csv")
after this I covert each row into a JSON file and dump into a local directory.
The problem is it keeps on doing this like its stuck in an infinite loop.
Any idea how I process the file only once and then stop?