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

Allow to configure shared thread pool for scheduled consumers

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: