camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-8540) S3Consumer uses maxMessagesPerPoll incorrectly
Date Mon, 30 Mar 2015 12:23:53 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-8540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-8540:
-------------------------------
    Fix Version/s: 2.16.0
                   2.15.1

> S3Consumer uses maxMessagesPerPoll incorrectly
> ----------------------------------------------
>
>                 Key: CAMEL-8540
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8540
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws
>    Affects Versions: 2.15.0
>            Reporter: Alexey Hanin
>            Priority: Minor
>             Fix For: 2.15.1, 2.16.0
>
>
> 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.
> {code:lang=java|title=S3Consumer.java}
> listObjectsRequest.setMaxKeys(maxMessagesPerPoll);
> {code}
> The consumer must set key limit only when value of {{maxMessagesPerPoll}} is greater
than 0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message