Chapter 10. Running routes inside Red Hat JBoss Fuse Tooling
There are two basic ways to run your routes using the tooling:
10.1. Running routes as a local Camel context
Overview
The simplest way to run an Apache Camel route is as a Project Explorer's context menu. When you run a route from the context menu, the tooling automatically creates a runtime profile for you. You can also create a custom runtime profile for running your route.
. This method enables you to launch the route directly from
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:
- In Project Explorer, select a routing context file.
- Right-click it to open the context menu, and then select
. NoteSelectingdirects the tooling 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
Section 10.3.1, “Editing a Local Camel Context runtime profile” |
Red Hat JBoss Fuse Tooling Tutorials, To Run a Route |