-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
APACHE KARAF COOKBOOK
By :
It is common to deploy dozens of Camel routes into an Apache Karaf container. To make administrating these routes easier, Apache Camel has provided a command to list all Camel-deployed routes by their ID.
Follow the instructions in the Listing Camel Contexts in Karaf recipe's Getting ready section for this recipe.
Use the camel:route-list command to list all routes deployed in Karaf as follows:
karaf@root()> camel:route-list Context Route Status ------- ----- ------ CamelCommandContext CamelRoute-timerToLog Started
The preceding invocation gathers and displays all the routes deployed in the container on Karaf's console.
When the route-list command is executed, the route IDs of each route in each Camel Context are displayed along with their current status.
When developing routes, assign a descriptive ID to help make administration easier.
Change the font size
Change margin width
Change background colour