Hi

I took a stab at CAMEL-3747 (we have one or two other JIRA tickets
about this as well)
https://issues.apache.org/jira/browse/CAMEL-3747

So it has been a bit overdue to provide maven archetypes out of the
box for end users to getting started with OSGi projects with Camel.

There are 2 new archetypes
 camel-archetype-blueprint
 camel-archetype-spring-dm

They use the same example. But they could use a bit of love. For
example the bean they invoke. The idea is to expose the bean in
the OSGi service registry and then lookup and use that bean from the
Camel route.

And we should enhance the example to use property placeholders. So you
can get an idea how that may work as well.

Also if anyone grook and are an expert on Apache Felix Maven Bundle
Plugin. Then please take a look at the pom.xml to help
improved the instructions for the MANIFEST.MF generation.

If you want to try them out from trunk. There is an instruction here:
http://camel.apache.org/camel-maven-archetypes.html

Showing that nice and long maven cmd you have to type.
If you build the project from the source. Then you dont need that
snapshot repo parameter as it can find it in your local repo.


-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
CamelOne 2011: http://fusesource.com/camelone2011/
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to