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

Allow to configure shared thread pool for scheduled consumers

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.10.0
    • camel-core
    • None
    • Unknown

    Description

      For example if you have many routes that starts from a file endpoint, then they are scheduled consumers, each using its own private thread pool with 1 scheduled thread.

      So for example having 30 file routes, means 30 threads. The JDK scheduled thread pool is always a fixed size.

      We should allow people to configure a custom thread pool, so they can use a single shared pool, with a number of fixed thread, that is shared among the 30 file consumers.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: