Camel
  1. Camel
  2. CAMEL-3576

camel-jms - Provided a task executor by default

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.7.0
    • Component/s: camel-jms
    • Labels:
      None

      Description

      When using camel-jms the consumers dont provide a default task executor. That means spring just creates a thread manually and dont reuse the thread.

      We should provided a task executor from camel using the ExecutorServiceStrategy. This allows us to use human readable thread names which can provide details about the consumer. The thread pool is also managed and even a 3rd party provider can manage thread creation.

      This only works when using Spring 3 as the task executor API is now aligned with the executor service api from the JDK.
      For Spring 2.x users we should not do this. We will then have to detect the spring version in use.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        15d 5h 1m 1 Claus Ibsen 06/Feb/11 13:25
        Resolved Resolved Closed Closed
        260d 22h 11m 1 Daniel Kulp 25/Oct/11 12:36
        Daniel Kulp made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Claus Ibsen added a comment -

        trunk: 1067682.

        Don't use thread pool for single threaded reply manager as Spring DMLC is a bit pants as it will keep using new tasks every second when idle, and that just confuses people, as task count will grow very large.

        Show
        Claus Ibsen added a comment - trunk: 1067682. Don't use thread pool for single threaded reply manager as Spring DMLC is a bit pants as it will keep using new tasks every second when idle, and that just confuses people, as task count will grow very large.
        Claus Ibsen made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Claus Ibsen added a comment -

        trunk: 1067658.

        Show
        Claus Ibsen added a comment - trunk: 1067658.
        Claus Ibsen created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development