Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0ACF5DDA7 for ; Wed, 21 Nov 2012 11:46:48 +0000 (UTC) Received: (qmail 93319 invoked by uid 500); 21 Nov 2012 11:46:47 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 93081 invoked by uid 500); 21 Nov 2012 11:46:47 -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 93044 invoked by uid 99); 21 Nov 2012 11:46:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2012 11:46:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of jasonnorth3001@googlemail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2012 11:46:39 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Tb8l0-0003NG-JH for users@camel.apache.org; Wed, 21 Nov 2012 03:46:18 -0800 Date: Wed, 21 Nov 2012 03:46:18 -0800 (PST) From: JasonN To: users@camel.apache.org Message-ID: <1353498378591-5723063.post@n5.nabble.com> In-Reply-To: References: <1353495933873-5723059.post@n5.nabble.com> Subject: Re: Call constructor from route MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks for your help. That's a shame though as you may not have control over the class to be able to add default constructor + other methods and even if you do there could be objections to designing classes around camel. I guess I could add another method somewhere to call the constructor or implement a processor but that seems unnecessarily verbose (and generally camel seems very good at keeping things concise+convenient). -- View this message in context: http://camel.465427.n5.nabble.com/Call-constructor-from-route-tp5723059p5723063.html Sent from the Camel - Users mailing list archive at Nabble.com.