Developing our first Camel Router for deployment in Karaf doesn't necessarily require using a handful of frameworks and libraries. In this recipe, we'll make a Camel router using pure Java code with just a sprinkling of OSGi and Camel libraries.
The ingredients of this recipe include the Apache Karaf distribution kit, access to JDK, Maven, and a source code editor. The sample code for this recipe is available at https://github.com/jgoodyear/ApacheKarafCookbook/tree/master/chapter2/chapter2-recipe3. Follow the instructions in the Installing Apache Camel modules into Apache Karaf recipe to provide the base requirements to operate the sample code.