O'Reilly logo

Instant Apache ServiceMix How-to by Henryk Konsek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating and deploying a new Camel route (Must know)

The most common type of module deployed to ServiceMix is probably the Camel-based routing bundle. This recipe will guide you through the process of creating and deploying a new Camel route to the ServiceMix container.

Getting ready

To create a new Camel routing project, we will use the Maven Archetype mechanism (http://maven.apache.org/archetype/maven-archetype-plugin), so make sure that you have Maven properly installed and available in your command-line path.

We will also assume that your ServiceMix instance is already running.

How to do it...

  1. Create a new Mavenized Camel routing project from the org.apache.camel.archetypes:camel-archetype-spring archetype. Name it camel-route.
  2. Change your working ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required