Class CamelControllerImpl
- java.lang.Object
-
- org.apache.camel.commands.AbstractCamelController
-
- org.apache.camel.commands.AbstractLocalCamelController
-
- org.apache.camel.karaf.commands.internal.CamelControllerImpl
-
- All Implemented Interfaces:
org.apache.camel.commands.CamelController,org.apache.camel.commands.LocalCamelController
- Direct Known Subclasses:
AbstractRouteCommand,CamelContextCompleter,ContextInflight,ContextList,ContextResume,ContextStart,ContextStop,ContextSuspend,EndpointList,EndpointStats,RestApiDoc,RestRegistryList,RestShow,RouteCompleter,RouteList,RouteResetStats
public class CamelControllerImpl extends org.apache.camel.commands.AbstractLocalCamelControllerImplementation ofCamelController.
-
-
Constructor Summary
Constructors Constructor Description CamelControllerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Map<String,String>>getCamelContexts()List<org.apache.camel.CamelContext>getLocalCamelContexts()voidresumeContext(String camelContextName)voidresumeRoute(String camelContextName, String routeId)voidsetBundleContext(org.osgi.framework.BundleContext bundleContext)voidstartContext(String camelContextName)voidstartRoute(String camelContextName, String routeId)-
Methods inherited from class org.apache.camel.commands.AbstractLocalCamelController
browseInflightExchanges, getCamelContextInformation, getCamelContextStatsAsXml, getEndpointRuntimeStatistics, getEndpoints, getLocalCamelContext, getRestApiDocAsJson, getRestModelAsXml, getRestServices, getRouteModelAsXml, getRoutes, getRoutes, getRouteStatsAsXml, getStepStatsAsXml, getTransformers, getValidators, resetRouteStats, stopContext, stopRoute, suspendContext, suspendRoute
-
-
-
-
Method Detail
-
setBundleContext
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
-
getLocalCamelContexts
public List<org.apache.camel.CamelContext> getLocalCamelContexts()
-
getCamelContexts
public List<Map<String,String>> getCamelContexts() throws Exception
- Throws:
Exception
-
startContext
public void startContext(String camelContextName) throws Exception
- Specified by:
startContextin interfaceorg.apache.camel.commands.CamelController- Overrides:
startContextin classorg.apache.camel.commands.AbstractLocalCamelController- Throws:
Exception
-
resumeContext
public void resumeContext(String camelContextName) throws Exception
- Specified by:
resumeContextin interfaceorg.apache.camel.commands.CamelController- Overrides:
resumeContextin classorg.apache.camel.commands.AbstractLocalCamelController- Throws:
Exception
-
startRoute
public void startRoute(String camelContextName, String routeId) throws Exception
- Specified by:
startRoutein interfaceorg.apache.camel.commands.CamelController- Overrides:
startRoutein classorg.apache.camel.commands.AbstractLocalCamelController- Throws:
Exception
-
-