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

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

I think James or Hadrian should be in on this as they might have some ideas to 
this.

As the model objects is in camel-core we can't have any spring imports, and the 
TaskExecutor in spring is not using the java 1.5 concurrent library (to be 1.4 
compatible). And we haven't pluggable DSL (yet, Hadrian have some ideas to 
this).

I guess using spring 3.0 that is jdk1.5+ it would be much easier to integrate 
as we can use the java.util.concurrent.Executor interface.

So we might need some tricks or good ideas to do it.

> 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
>             Fix For: 2.0.0
>
>         Attachments: 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