Red Hat Training

A Red Hat training course is available for Red Hat Fuse

1.3. Exercising routes

Overview

In addition to simplifying the process of creating and editing routes, the tooling provides tools to make it easier to run your routes and deploy them into test environments. Using the tooling 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 tooling.

Running as a local Apache Camel context

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

Deploying to OSGi

Important
This functionality requires the Runtimes feature.
You can also deploy routes into a running OSGi container. The tooling supports deployment into these OSGi containers: Red Hat JBoss Fuse v6.x, Apache ServiceMix v4.x, and Apache Karaf v2.x.