[ 
https://issues.apache.org/jira/browse/CAMEL-3383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated CAMEL-3383:
----------------------------------------

    Attachment: CAMEL-3383.patch

This patch contains the following commands:
- camel:list-contexts to display the Camel contexts available. A 
CamelContextCompleter provides completion for this command.
- camel:info-context to display detailed information about a Camel context. The 
output use ASCII rendering (bold, colored characters). This command also uses 
the CamelContextCompleter. The endpoints, components, routes, etc are displayed.
- camel:start-context starts a Camel Context and all routes. This command also 
uses the CamelContextCompleter.
- camel:stop-context stops a Camel Context and all routes. This command also 
uses the CamelContextCompleter.
- camel:list-routes displays all routes available. The Camel context argument 
is optional.
- camel:info-route displays detailed information about a route. It includes 
statistics (number of exchanges, uptime, etc) and dump the XML route definition 
also. This command uses a RouteCompleter for completion.
- camel:show-route displays the XML definition of a route. This commands also 
uses the RouteCompleter.
- camel:start-route start a specific route. This command also uses the 
RouteCompleter.
- camel:stop-route stop a specific route. This command also uses the 
RouteCompleter.

I plan to add command to manipulate route definition (set the delayer, etc), 
but this first patch could be useful :)

> Create camel karaf commands
> ---------------------------
>
>                 Key: CAMEL-3383
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3383
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>         Attachments: CAMEL-3383.patch
>
>
> Being able to list CamelContext, routes, endpoints, display routes, 
> start/stop them, etc...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to