Hi

I think that tutorial is a bit outdated, as it was written in the
Camel 1.x days.

Christian Schneider did a blog series about camel and osgi
http://www.liquid-reality.de/display/liquid/2012/01/03/Karaf+Tutorial+Part+5+-+Running+Apache+Camel+integrations+in+OSGi

For osgi its easier with a either a spring-dm or blueprint xml file, to setup
And then you can just define a <bean> that is the Java DSL route,
which you refer to in the <camelContext>

With the spring-dm or blueprint xml file, then its all setup when
deploying in the osgi container. You dont have to do anything.
Otherwise its a bit manual work to use an osgi activator, and create
the appropriate camel context implementation, and whatnot.

And with Camel 2.10 it becomes ever easier to develop and test with
osgi blueprint
http://davsclaus.blogspot.se/2012/01/unit-testing-osgi-blueprint-with-apache.html

On Tue, May 22, 2012 at 9:30 AM, Zagan <erbsen.fr...@gmail.com> wrote:
> Hello,
>
> I read the tutorial under
> http://camel.apache.org/tutorial-osgi-camel-part1.html
> ttp://camel.apache.org/tutorial-osgi-camel-part1.html . Sadly I'm not
> experienced in using Maven, Maven Pax Plugin, Spring, Spring OSGi, OSGi
> bundle interfaces. Can anybody explain me for what requirement each
> technology is used and how to set up a demo environment? Is there a getting
> Started in this technologies on the Camel page? I want to write a tutorial
> on how to develop & deploy a Java DSL route  as OSGi bundle.
>
> Thanks in advance!
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-to-develop-a-Camel-route-OSGi-Bundle-tp5713306.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to