camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Created: (CAMEL-3576) camel-jms - Provided a task executor by default
Date Sat, 22 Jan 2011 08:24:43 GMT
camel-jms - Provided a task executor by default

                 Key: CAMEL-3576
             Project: Camel
          Issue Type: Improvement
          Components: camel-jms
    Affects Versions: 2.5.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.7.0

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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message