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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-M1
    • 2.0-M2
    • camel-core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: