org.apache.camel.karaf.commands
Class AbstractRouteCommand
java.lang.Object
org.apache.karaf.shell.console.AbstractAction
org.apache.karaf.shell.console.OsgiCommandSupport
org.apache.camel.karaf.commands.AbstractRouteCommand
- All Implemented Interfaces:
- org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware
- Direct Known Subclasses:
- RouteResume, RouteStart, RouteStop, RouteSuspend
public abstract class AbstractRouteCommand
- extends org.apache.karaf.shell.console.OsgiCommandSupport
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport |
bundleContext, usedReferences |
Fields inherited from class org.apache.karaf.shell.console.AbstractAction |
log, session |
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 |
AbstractRouteCommand
public AbstractRouteCommand()
setCamelController
public void setCamelController(CamelController camelController)
executeOnRoute
public abstract void executeOnRoute(org.apache.camel.CamelContext camelContext,
org.apache.camel.Route camelRoute)
throws Exception
- Throws:
Exception
doExecute
public Object doExecute()
throws Exception
- Specified by:
doExecute
in class org.apache.karaf.shell.console.AbstractAction
- Throws:
Exception
Apache CAMEL