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 80834D258 for ; Wed, 19 Sep 2012 18:48:00 +0000 (UTC) Received: (qmail 38083 invoked by uid 500); 19 Sep 2012 18:48:00 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 38057 invoked by uid 500); 19 Sep 2012 18:48:00 -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 38044 invoked by uid 99); 19 Sep 2012 18:47:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2012 18:47:59 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=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 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; Wed, 19 Sep 2012 18:47:53 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TEPJ6-0003AJ-RK for users@camel.apache.org; Wed, 19 Sep 2012 11:47:32 -0700 Date: Wed, 19 Sep 2012 11:47:32 -0700 (PDT) From: JacobS To: users@camel.apache.org Message-ID: <1348080452838-5719618.post@n5.nabble.com> Subject: camelcontext cant find class in osgi environment MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am using camel (tried 2.6 and 2.10.1) in an osgi environment and I am getting exceptions when camel is checking an 'is' predicate: org.apache.camel.language.simple.types.SimpleIllegalSyntaxException: is operator cannot find class with name: MyClassName It seems that the class loader used by camel is the camel-core bundle class loader which doesn't know the required class. is it possible to set the camelcontext class loader ? -- View this message in context: http://camel.465427.n5.nabble.com/camelcontext-cant-find-class-in-osgi-environment-tp5719618.html Sent from the Camel - Users mailing list archive at Nabble.com.