Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 98956 invoked from network); 6 Apr 2010 12:55:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Apr 2010 12:55:32 -0000 Received: (qmail 684 invoked by uid 500); 6 Apr 2010 12:55:32 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 623 invoked by uid 500); 6 Apr 2010 12:55:32 -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 615 invoked by uid 500); 6 Apr 2010 12:55:31 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 612 invoked by uid 99); 6 Apr 2010 12:55:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 12:55:31 +0000 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; Tue, 06 Apr 2010 12:55:29 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7E2D3234C1EE for ; Tue, 6 Apr 2010 12:55:08 +0000 (UTC) Message-ID: <497922232.13131270558508501.JavaMail.jira@brutus.apache.org> Date: Tue, 6 Apr 2010 12:55:08 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Created: (CAMEL-2618) camel-cxf - Do not use ProducerTemplate internally to send to same destination MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org camel-cxf - Do not use ProducerTemplate internally to send to same destination ------------------------------------------------------------------------------ Key: CAMEL-2618 URL: https://issues.apache.org/activemq/browse/CAMEL-2618 Project: Apache Camel Issue Type: Improvement Components: camel-cxf Affects Versions: 2.2.0 Reporter: Claus Ibsen Priority: Minor CamelConduit and other classes (search for usage of ProducerTemplate) in camel-cxf should not be used. You are sending to the *same* endpoint uri, and therefore just create a Producer from the endpoint uri and use it. Using ProducerTemplate will have a cache pool under the covers which is not used/needed at all. This is plain overkill. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.