[ https://issues.apache.org/activemq/browse/CAMEL-1654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-1654. -------------------------------- Resolution: Fixed trunk: 782062. > BatchConsumer - Add option to limit the number of exchanges in a poll > --------------------------------------------------------------------- > > Key: CAMEL-1654 > URL: https://issues.apache.org/activemq/browse/CAMEL-1654 > Project: Apache Camel > Issue Type: New Feature > Components: camel-core > Affects Versions: 2.0-M1 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.0.0 > > > We should add an option to BatchConsumers {{maxMessagesPerPoll}} as a limit > of how many message we can max. gather in a given poll. > For instance if you start a server and there are 20.000 files to poll, the > user can set a limit to eg 100 to avoid consuming all 20.000 in the very > first poll. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.