Displaying route information in Karaf
Apache Camel provides mechanisms to gather information surrounding the routes deployed inside a Camel Context. The route-info
command has been provided to display route properties, statistics, and definitions to Karaf's console.
Getting ready
Follow the instructions in the Listing Camel Contexts in Karaf recipe's Getting ready section for this recipe.
How to do it…
Use the following camel:route-info routeId
command to display information on a Camel route to Karaf's console; similar to the camel:context-info
command, this command may generate a lot of output:
karaf@root()> camel:route-info CamelRoute-timerToLog Camel Route CamelRoute-timerToLog Camel Context: CamelCommandContext Properties id = CamelRoute-timerToLog ...
Get Apache Karaf Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.