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

In Threads DSL thread pool options and executorServiceRef should be mutually exclusive

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.13.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When executorServiceRef option is set on the Threads DSL, we should not let users to set pool profile options (poolSize, maxQueueSize, etc) at the same time. When executorServiceRef is set on Threads DSL, mentioned options are ignored as referred ExecutorService uses its own settings.

      Users tend to think that they can override thread profile options of referred ExecutorService on the Threads DSL level. We should validate DSL to make Threads DSL thread pool options and executorServiceRef mutually exclusive.

        Attachments

          Activity

            People

            • Assignee:
              hekonsek Henryk Konsek
              Reporter:
              hekonsek Henryk Konsek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: