Darius Cooper created CAMEL-14763:
-------------------------------------

             Summary: Allow S3 Consumer to be configured to not return/delete 
"directories"
                 Key: CAMEL-14763
                 URL: https://issues.apache.org/jira/browse/CAMEL-14763
             Project: Camel
          Issue Type: Improvement
          Components: camel-aws-s3
            Reporter: Darius Cooper


Allow S3 Consumer to be configured to not return/delete "empty files" which S3 
uses as a way to simulate a folder structure. 

Since S3 object Content-Type meta-data tells whether the object is a 
"directory", this can be used to identify and skip such objects. It does mean 
that the number of objects returned could be less than the maxMessagesPerPoll. 
As long as this is not the default and the docs explain what to expect, I 
believe this would be okay.

Wanted to create a JIRA to see if there was an architectural objection to 
adding such a feature. If not, Ill try submitting a PR.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to