public interface CamelController
| Modifier and Type | Method and Description |
|---|---|
List<Map<String,Object>> |
browseInflightExchanges(String camelContextName,
String route,
int limit,
boolean sortByLongestDuration)
Browses the inflight exchanges
|
String |
explainEipAsJSon(String camelContextName,
String nameOrId,
boolean allOptions)
Explains an EIP
|
String |
explainEndpointAsJSon(String camelContextName,
String uri,
boolean allOptions)
Explains an endpoint uri
|
Map<String,Object> |
getCamelContextInformation(String name)
Gets information about a given Camel context by the given name.
|
List<Map<String,String>> |
getCamelContexts()
Get the list of Camel context.
|
List<Map<String,String>> |
getCamelContexts(String filter)
Get the list of Camel context filter by reg ex.
|
String |
getCamelContextStatsAsXml(String camelContextName,
boolean fullStats,
boolean includeProcessors)
Returns detailed CamelContext and route statistics as XML identified by a ID and a Camel context.
|
List<Map<String,String>> |
getEndpointRuntimeStatistics(String camelContextName)
Return endpoint runtime statistics
|
List<Map<String,String>> |
getEndpoints(String camelContextName)
Return the endpoints
|
String |
getRestApiDocAsJson(String camelContextName)
Return the REST services API documentation as JSon (requires camel-swagger-java on classpath)
|
String |
getRestModelAsXml(String camelContextName)
Return the definition of the REST services as XML for the given Camel context.
|
List<Map<String,String>> |
getRestServices(String camelContextName)
Return the REST services for the given Camel context.
|
String |
getRouteModelAsXml(String routeId,
String camelContextName)
Return the definition of a route as XML identified by a ID and a Camel context.
|
List<Map<String,String>> |
getRoutes(String camelContextName)
Get all routes.
|
List<Map<String,String>> |
getRoutes(String camelContextName,
String filter)
Get all routes filtered by the regex.
|
String |
getRouteStatsAsXml(String routeId,
String camelContextName,
boolean fullStats,
boolean includeProcessors)
Returns detailed route statistics as XML identified by a ID and a Camel context.
|
List<Map<String,String>> |
getTransformers(String camelContextName)
Return the transformers
|
List<Map<String,String>> |
getValidators(String camelContextName)
Return the validators
|
List<Map<String,String>> |
listComponents(String camelContextName)
Lists Components which are in use or available on the classpath and include information
|
void |
resetRouteStats(String camelContextName)
Reset all the route stats for the given Camel context
|
void |
resumeContext(String camelContextName)
Resumes the given Camel context.
|
void |
resumeRoute(String camelContextName,
String routeId)
Resumes the given route
|
void |
startContext(String camelContextName)
Starts the given Camel context.
|
void |
startRoute(String camelContextName,
String routeId)
Starts the given route
|
void |
stopContext(String camelContextName)
Stops the given Camel context.
|
void |
stopRoute(String camelContextName,
String routeId)
Stops the given route
|
void |
suspendContext(String camelContextName)
Suspends the given Camel context.
|
void |
suspendRoute(String camelContextName,
String routeId)
Suspends the given route
|
Map<String,Object> getCamelContextInformation(String name) throws Exception
name - the Camel context name.Exception - can be thrownList<Map<String,String>> getCamelContexts() throws Exception
Exception - can be thrownList<Map<String,String>> getCamelContexts(String filter) throws Exception
filter - the filter which supports * and ? as wildcardsException - can be thrownString getCamelContextStatsAsXml(String camelContextName, boolean fullStats, boolean includeProcessors) throws Exception
camelContextName - the Camel context.fullStats - whether to include verbose statsincludeProcessors - whether to embed per processor stats from the routeException - can be thrownList<Map<String,Object>> browseInflightExchanges(String camelContextName, String route, int limit, boolean sortByLongestDuration) throws Exception
camelContextName - the Camel context.route - the Camel route IDlimit - maximum number of exchanges to returnsortByLongestDuration - true to sort by longest duration, false to sort by exchange idException - can be thrownvoid startContext(String camelContextName) throws Exception
camelContextName - the Camel context.Exception - can be thrownvoid stopContext(String camelContextName) throws Exception
camelContextName - the Camel context.Exception - can be thrownvoid suspendContext(String camelContextName) throws Exception
camelContextName - the Camel context.Exception - can be thrownvoid resumeContext(String camelContextName) throws Exception
camelContextName - the Camel context.Exception - can be thrownList<Map<String,String>> getRoutes(String camelContextName) throws Exception
camelContextName - the Camel context name. If null, all contexts are considered.Exception - can be thrownList<Map<String,String>> getRoutes(String camelContextName, String filter) throws Exception
camelContextName - the Camel context name. If null, all contexts are considered.filter - the filter which supports * and ? as wildcardsException - can be thrownvoid resetRouteStats(String camelContextName) throws Exception
camelContextName - the Camel context.Exception - can be thrownvoid startRoute(String camelContextName, String routeId) throws Exception
camelContextName - the Camel context.routeId - the route ID.Exception - can be thrownvoid stopRoute(String camelContextName, String routeId) throws Exception
camelContextName - the Camel context.routeId - the route ID.Exception - can be thrownvoid suspendRoute(String camelContextName, String routeId) throws Exception
camelContextName - the Camel context.routeId - the route ID.Exception - can be thrownvoid resumeRoute(String camelContextName, String routeId) throws Exception
camelContextName - the Camel context.routeId - the route ID.Exception - can be thrownString getRouteModelAsXml(String routeId, String camelContextName) throws Exception
routeId - the route ID.camelContextName - the Camel context.Exception - can be thrownString getRouteStatsAsXml(String routeId, String camelContextName, boolean fullStats, boolean includeProcessors) throws Exception
routeId - the route ID.camelContextName - the Camel context.fullStats - whether to include verbose statsincludeProcessors - whether to embed per processor stats from the routeException - can be thrownList<Map<String,String>> getEndpoints(String camelContextName) throws Exception
camelContextName - the Camel context.Exception - can be thrownList<Map<String,String>> getEndpointRuntimeStatistics(String camelContextName) throws Exception
camelContextName - the Camel contextException - can be thrownString getRestModelAsXml(String camelContextName) throws Exception
camelContextName - the Camel context.Exception - can be thrownString getRestApiDocAsJson(String camelContextName) throws Exception
camelContextName - the Camel context.Exception - can be thrownList<Map<String,String>> getRestServices(String camelContextName) throws Exception
camelContextName - the Camel context.Exception - can be thrownString explainEndpointAsJSon(String camelContextName, String uri, boolean allOptions) throws Exception
camelContextName - the Camel context.uri - the endpoint uriallOptions - whether to explain all options, or only the explicit configured options from the uriException - can be thrownString explainEipAsJSon(String camelContextName, String nameOrId, boolean allOptions) throws Exception
camelContextName - the Camel context.nameOrId - the name of the EIP (NamedNode.getShortName() or a node id to refer to a specific node from the routes.allOptions - whether to explain all options, or only the explicit configured options from the uriException - can be thrownList<Map<String,String>> listComponents(String camelContextName) throws Exception
camelContextName - the Camel context.Exception - can be thrownList<Map<String,String>> getTransformers(String camelContextName) throws Exception
camelContextName - the Camel context.Exception - can be thrownApache Camel