Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-1654

BatchConsumer - Add option to limit the number of exchanges in a poll

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0-M1
    • Fix Version/s: 2.0-M2
    • Component/s: camel-core
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: