Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 43165 invoked from network); 10 Nov 2010 11:24:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Nov 2010 11:24:22 -0000 Received: (qmail 747 invoked by uid 500); 10 Nov 2010 11:24:53 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 533 invoked by uid 500); 10 Nov 2010 11:24:50 -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 525 invoked by uid 99); 10 Nov 2010 11:24:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 11:24:50 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.158 is neither permitted nor denied by domain of unmarshall@gmail.com) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 11:24:45 +0000 Received: from sam.nabble.com ([192.168.236.26]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1PG8mu-00036h-F6 for users@camel.apache.org; Wed, 10 Nov 2010 03:24:24 -0800 Date: Wed, 10 Nov 2010 03:24:24 -0800 (PST) From: unmarshall To: users@camel.apache.org Message-ID: <1289388264461-3258487.post@n5.nabble.com> In-Reply-To: <1289303388134-3256659.post@n5.nabble.com> References: <1289299714089-3256585.post@n5.nabble.com> <1289303388134-3256659.post@n5.nabble.com> Subject: Re: Custom component Vs Custom processor MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Richard, Thanks for your comment. I agree with your argument however i can very easily implement a custom processor and use it for multiple routes. A component internally calls a processor in the form of Consumer/Producer attached to an endpoint. So again if i look at the XSLT component i feel that a custom processor would have done that as well and could have been reused. So you already have XsltBuilder (processor) which is directly used from inside the xslt component. Apart from using that processor it does nothing much. So that raises the question again in my head as to when to create a component and when not to. Best Regards, Madhav Richard Kettelerij wrote: > > I've discussed the choice between components and processors earlier in > http://camel.465427.n5.nabble.com/How-to-handle-firefox-outputting-files-as-component-td3047751.html#a3047804 > (second message). > -- View this message in context: http://camel.465427.n5.nabble.com/Custom-component-Vs-Custom-processor-tp3256585p3258487.html Sent from the Camel - Users mailing list archive at Nabble.com.