org.apache.camel.karaf.commands
Class ShowRouteCommand

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.ShowRouteCommand
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware

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

Command to show the route marshaled in XML.


Field Summary
 
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
ShowRouteCommand()
           
 
Method Summary
 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
 

Constructor Detail

ShowRouteCommand

public ShowRouteCommand()
Method Detail

setCamelController

public void setCamelController(CamelController camelController)

doExecute

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


Apache CAMEL