Camel
  1. Camel
  2. CAMEL-7250

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development