Description
S3Consumer sets the maximum number of keys to retrieve from S3 to the value of maxMessagesPerPoll property. According to documentation (http://camel.apache.org/batch-consumer.html), the limit can be disabled by setting the value to negative or zero. In case of S3Consumer, setting the maxMessagesPerPoll URI property will have and effect of always empty result.
S3Consumer.java
listObjectsRequest.setMaxKeys(maxMessagesPerPoll);
The consumer must set key limit only when value of maxMessagesPerPoll is greater than 0.