Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 61127 invoked from network); 27 Nov 2008 19:00:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2008 19:00:26 -0000 Received: (qmail 15936 invoked by uid 500); 27 Nov 2008 19:00:37 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 15915 invoked by uid 500); 27 Nov 2008 19:00:37 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 15904 invoked by uid 99); 27 Nov 2008 19:00:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2008 11:00:37 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2008 18:59:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5FB30234C296 for ; Thu, 27 Nov 2008 11:00:05 -0800 (PST) Message-ID: <1445486756.1227812405382.JavaMail.jira@brutus> Date: Thu, 27 Nov 2008 11:00:05 -0800 (PST) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-1098) multicast and file consumer using managed threads? In-Reply-To: <1896126298.1227004745392.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.