Exercising routes

Revision History

Overview

In addition to simplifying the process of creating and editing routes, the developer tools provide tools to make it easier to run your routes and deploy them into test environments. Using the developer tools you can:

  • run a route using Maven

  • run a route as a local Apache Camel context

  • deploy into a running OSGi container

Using Maven

You can run your route with Maven, using Maven's standard goals. This method closely simulates how an Apache Camel project would run outside of the developer tools.

See Working with runtime profiles.

Running as a local Apache Camel context

You can run all routes in a context directly inside the developer tools without setting up a Maven runtime profile. You can run routes locally with or without running validation tests. Running a context directly inside the developer tools does not require that your project be a Maven project.

Deploying to OSGi

You can also deploy routes into a running OSGi container. The developer tools support deployment into these OSGi containers: Red Hat JBoss Fuse v6.x, Apache ServiceMix v4.x, and Apache Karaf v2.x.

See Deploying Projects to a Container.