Running routes as a local Camel context

[Important]Subscription Only

This feature is available only to FuseSource subscribers.

Overview

The simplest way to run an Apache Camel route is as a Local Camel Context. This method enables you to launch the route directly from Package Explorer's context menu. When you run a route from the context menu, Fuse IDE automatically creates a runtime profile for you. You can also create a custom runtime profile for running your route.

Your route runs as if it were invoked directly from the command line and uses Apache Camel's embedded Spring container. You can configure a number of the runtime parameters by editing the runtime profile.

Procedure

To run a route as a local Camel context:

  1. In Package Explorer, select a routing context file.

  2. Right-click it to open the context menu, and then select Run As > Local Camel Context.

    [Tip]Tip

    Selecting Local Camel Context (without tests) directs Fuse IDE to run the project without performing validation tests, which may be faster.

Result

The Console view displays the output generated from running the route.

Related topics

Editing a Local Camel Context runtime profile