Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C60BA7725 for ; Thu, 11 Aug 2011 15:48:19 +0000 (UTC) Received: (qmail 71520 invoked by uid 500); 11 Aug 2011 15:48:19 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 71472 invoked by uid 500); 11 Aug 2011 15:48:19 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 71464 invoked by uid 99); 11 Aug 2011 15:48:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 15:48:18 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 15:48:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3E6EDB7F37 for ; Thu, 11 Aug 2011 15:47:27 +0000 (UTC) Date: Thu, 11 Aug 2011 15:47:27 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: dev@camel.apache.org Message-ID: <428935778.28130.1313077647252.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <818831646.4146.1312360767274.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CAMEL-4298) Add back ExecutorServiceStrategy and mark it as @deprecated MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-4298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13083174#comment-13083174 ] Claus Ibsen commented on CAMEL-4298: ------------------------------------ CAMEL-4244 introduced a few other issues so I am going to bridge back parts of the old API. As well to have better API documentation as the current dont have, so end user would not understand whats the difference between among others the following methods etc. {code} ExecutorService getDefaultExecutorService(String ref, Object source); ExecutorService getExecutorService(ThreadPoolProfile profile, Object source); ExecutorService createExecutorService(ThreadPoolProfile profile, Object source); {code} > Add back ExecutorServiceStrategy and mark it as @deprecated > ----------------------------------------------------------- > > Key: CAMEL-4298 > URL: https://issues.apache.org/jira/browse/CAMEL-4298 > Project: Camel > Issue Type: Task > Components: camel-core > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.9.0 > > > The old ExecutorServiceStrategy was refacted into ExecutorServiceManager. But it was removed. This was a mistake as it breaks backwards compatibility, and people are not given a reasonable time to adjust. > So we should add back the ExecutorServiceStrategy and have it marked as @deprecated. It can then just under the hood, use the ExecutorServiceManager. > Then in a future Camel release we can removed the @deprecated ExecutorServiceStrategy (for example Camel 3.0, or in eg 1 year from now) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira