Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 67494 invoked from network); 18 Feb 2011 16:05:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2011 16:05:30 -0000 Received: (qmail 16400 invoked by uid 500); 18 Feb 2011 16:05:30 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 16113 invoked by uid 500); 18 Feb 2011 16:05:26 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 16105 invoked by uid 99); 18 Feb 2011 16:05:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 16:05:25 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of lekkie.aydot@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 16:05:20 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PqSpH-000575-W3 for users@camel.apache.org; Fri, 18 Feb 2011 08:05:00 -0800 Date: Fri, 18 Feb 2011 08:04:59 -0800 (PST) From: Naira & Kobo To: users@camel.apache.org Message-ID: <1298045099977-3391321.post@n5.nabble.com> Subject: How to stop implicit call to Type Converters MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit How do I stop implicit call to a custom type converter made by camel. see my script below: I turned on traces on the custom converter and I realize after the first (explicit) call to the customConverter - which converts from String to a bean - class, camel implicitly calls the converter (to change from the new bean to a string body type) just before calling endpoiint2. This needlessly causes unnecessary overhead. Is there a way to prevent this call? kr. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-stop-implicit-call-to-Type-Converters-tp3391321p3391321.html Sent from the Camel - Users mailing list archive at Nabble.com.