Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6B208D5F9 for ; Tue, 30 Oct 2012 09:30:14 +0000 (UTC) Received: (qmail 53152 invoked by uid 500); 30 Oct 2012 09:30:14 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 53103 invoked by uid 500); 30 Oct 2012 09:30:13 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 53075 invoked by uid 99); 30 Oct 2012 09:30:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2012 09:30:12 +0000 Date: Tue, 30 Oct 2012 09:30:12 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: <295837048.43916.1351589412557.JavaMail.jiratomcat@arcas> In-Reply-To: <842476855.345.1345643982746.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CAMEL-5534) OSGi split package org.apache.camel.component, both camel-core and camel-spring export MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-5534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486766#comment-13486766 ] Claus Ibsen commented on CAMEL-5534: ------------------------------------ We have seen the reverse happen also, asking for ResourceEndpoint which is in camel-core, but gets a NoClassDefFoundException. I wonder if there is any merge-first or whatever that osgi syntax is, would help? We should possible just force the package to always look in camel-core as there are the classes which is needed by Velocity, Freemarker etc. > OSGi split package org.apache.camel.component, both camel-core and camel-spring export > -------------------------------------------------------------------------------------- > > Key: CAMEL-5534 > URL: https://issues.apache.org/jira/browse/CAMEL-5534 > Project: Camel > Issue Type: Bug > Components: camel-core, camel-spring > Affects Versions: 2.9.0 > Reporter: Scott Cranton > Labels: OSGi > Fix For: 3.0.0 > > > Both camel-core and camel-spring export package org.apache.camel.component. camel-spring contains org.apache.camel.component.ResourceBasedComponent, and camel-core does not, so any bundles that resolve to camel-core (most do) will get a ClassNotFoundException for ResourceBasedComponent -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira