Camel OSGi Question

2012-08-22 Thread Joe San
Guys, I created a new project using the camel-maven-blueprint archetype to be used in an OSGi container. I ran mvn clean install on my project. Where and how do I deploy this bundle to my OSGi container? Im using ServiceMix. I had a look at the generated files from the blueprint archetype. In the

Re: Camel OSGi Question

2012-08-22 Thread Christian Schneider
osgi:install -s mvn:com.myproj/myproject/1.0.0-SNAPSHOT loads the bundle from the configured maven repos. By default it tries the maven central repo but also your local repo on your machine. As mvn install deploys the bundle to your local maven repo it should work. In your question you

Re: Camel OSGi Question

2012-08-22 Thread Joe San
Thanks for the pointer. When I tried that it failed saying that camel-osgi bundle is not installed. So I tried to install it as below: osgi:install -s mvn:org.apache.camel/camel-osgi/1.5.0 and surprisingly it failed with the following error: karaf@root osgi:install -s

Re: Camel OSGi Question

2012-08-22 Thread Joe San
One after the other... when installing camel-osgi, it says that I need to install camel-spring karaf@root osgi:install -s mvn:org.apache.camel/camel-osgi/1.5.0 org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-osgi [156]: Unable to resolve 156.0: missing

Re: Camel OSGi Question

2012-08-22 Thread Claus Ibsen
If you use Apache Karaf then you should use the features to install Camel. This is very easy. Christian have written a tutorial http://www.liquid-reality.de/display/liquid/2012/01/03/Karaf+Tutorial+Part+5+-+Running+Apache+Camel+integrations+in+OSGi And from the latest Karaf releases you can make

Re: Camel OSGi Question

2012-08-22 Thread Joe San
features:install camel - saved my day! Regards, Jothi On Wed, Aug 22, 2012 at 6:07 PM, Claus Ibsen claus.ib...@gmail.com wrote: If you use Apache Karaf then you should use the features to install Camel. This is very easy. Christian have written a tutorial