org.apache.camel.karaf.commands
Class RouteList

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.apache.camel.karaf.commands.RouteList
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware

public class RouteList
extends org.apache.karaf.shell.console.OsgiCommandSupport

Command to list all Camel routes.


Field Summary
protected static String CONTEXT_ID
           
protected static String HEADER_FORMAT
           
protected static String OUTPUT_FORMAT
           
protected static String ROUTE_ID
           
protected static String STATUS
           
protected static String UNKNOWN
           
 
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
bundleContext, usedReferences
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
RouteList()
           
 
Method Summary
protected  Object doExecute()
           
 void setCamelController(CamelController camelController)
           
 
Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
execute, getAllServices, getBundleContext, getService, setBundleContext, ungetServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADER_FORMAT

protected static final String HEADER_FORMAT
See Also:
Constant Field Values

OUTPUT_FORMAT

protected static final String OUTPUT_FORMAT
See Also:
Constant Field Values

UNKNOWN

protected static final String UNKNOWN
See Also:
Constant Field Values

ROUTE_ID

protected static final String ROUTE_ID
See Also:
Constant Field Values

CONTEXT_ID

protected static final String CONTEXT_ID
See Also:
Constant Field Values

STATUS

protected static final String STATUS
See Also:
Constant Field Values
Constructor Detail

RouteList

public RouteList()
Method Detail

setCamelController

public void setCamelController(CamelController camelController)

doExecute

protected Object doExecute()
                    throws Exception
Specified by:
doExecute in class org.apache.karaf.shell.console.AbstractAction
Throws:
Exception


Apache CAMEL