Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 88457 invoked from network); 3 Mar 2011 11:50:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Mar 2011 11:50:33 -0000 Received: (qmail 22166 invoked by uid 500); 3 Mar 2011 11:50:29 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 22048 invoked by uid 500); 3 Mar 2011 11:50:29 -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 22040 invoked by uid 99); 3 Mar 2011 11:50:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 11:50:29 +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 jacobhameiri@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 11:50:27 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1Pv72l-0003MY-2o for users@camel.apache.org; Thu, 03 Mar 2011 03:50:07 -0800 Date: Thu, 3 Mar 2011 03:50:07 -0800 (PST) From: JacobS To: users@camel.apache.org Message-ID: <1299153007075-3407810.post@n5.nabble.com> In-Reply-To: References: <1299007819758-3405576.post@n5.nabble.com> Subject: Re: split with spring DSL bean MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I did some debugging and apparently the beanholder for the bean processor (of bean pojoSplitter ) has the wrong camelcontext. I have 2 camelconetxts in my app one in each osgi bundle and for some unknown reason camel has attached the wrong context to the bean. that is why in 'CompositeRegistry' the lookup method does not find the bean ( it is looking in the wrong applicationcontext ) Any idea how this could happen ? Jacob -- View this message in context: http://camel.465427.n5.nabble.com/split-with-spring-DSL-bean-tp3405576p3407810.html Sent from the Camel - Users mailing list archive at Nabble.com.