camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmoulliard <>
Subject Re: camel-example-osgi - imported packages?
Date Mon, 07 Jul 2008 11:53:02 GMT

Hi Claus,

You are right. The Camel-osgi example is not a good one because the META-INF
file does not exist and could not be generated (like this is possible with
maven + bnd : from the repository. Like you
mention, the wiki web site has to be updated in order to explain
step-by-step how to build a Camel osgi project and deploy. 

When you look to the servicemix web site where
( an explanation is
provided on How to run Camel example inside servicemix 4 (which is based on
Felix osgi server), you see that in order to run Camel, additional bundles
(jaxb, jaxb-impl, camel, camel-osgi, ...) must be deployed. But this is not
enough because when you try to deploy the same project into Spring
Application Platform Server (and probably others osgi servers), errors are
returned to the console because dependencies are not deployed and not
defined in the META-INF file (good explanation is provided here :

Unfortunately, even if each osgi server implements the osgi specification
their behavior are different. This is also the case with the J2EE servers.
Otherwise the procedure explained in the servicemix should be reproductible.
In spring application platform by example, the camel schema cannot be find
during the launch of the server ... Sometimes IT is a pity for the slaves
that we are.



Claus Ibsen wrote:
> Hi
> The camel-example-osgi is quite plain in the MANIFEST.MF file.
> I am wondering why it hasn't dependencies to camel-core and camel-spring
> that is needed also? Or am I misunderstanding how this OSGi is to be used?
> Anyone got it installed and started in an OSGi container?
> We could use a user guide on this in the Camel wiki documentation.
> Med venlig hilsen
> Claus Ibsen
> ......................................
> Silverbullet
> Skovsgårdsvænget 21
> 8362 Hørning
> Tlf. +45 2962 7576
> Web:

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message