[ 
https://issues.apache.org/activemq/browse/CAMEL-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47837#action_47837
 ] 

Claus Ibsen commented on CAMEL-1098:
------------------------------------

@tim. DefaultComponent uses a ScheduledExecutorService to as pool. 

So maybe it's possible to inject what the WorkManager has to offer as 
ScheduledExecutorService  using the setScheduledExecutorService  method.
However being able to set that globally for all components is something I can't 
see done easy. Maybe something we should consider to improve.

Does the WorkManager offer a ScheduledExecutorService?

Are there other areas with issues? Tim we are interested to improve and let 
Camel be a first class citizen.

> multicast and file consumer using managed threads?
> --------------------------------------------------
>
>                 Key: CAMEL-1098
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1098
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: tim mcnamara
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>         Attachments: executor.patch, multicast.patch
>
>
> Running in a server managed environment, it is preferable to use managed 
> threads when ever possible. Is it possible to have these components (and 
> others that spawn threads) modified to use Spring's TaskExecutor abstraction 
> (a la JmsComponent). If this is the case, we could configure the components 
> to use the server's WorkManager API.

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

Reply via email to