public interface JolokiaCamelController
extends org.apache.camel.commands.CamelController
Modifier and Type | Method and Description |
---|---|
void |
connect(String url,
String username,
String password)
Connects to the remote JVM using the given url to the remote Jolokia agent
|
boolean |
ping()
After connecting the ping command can be used to check if the connection works.
|
void |
using(org.jolokia.client.J4pClient client)
To use the existing
J4pClient with this controller. |
browseInflightExchanges, catalogComponentAsciiDoc, catalogDataFormatAsciiDoc, catalogLanguageAsciiDoc, componentInfo, explainEipAsJSon, explainEndpointAsJSon, getCamelContextInformation, getCamelContexts, getCamelContexts, getCamelContextStatsAsXml, getEndpointRuntimeStatistics, getEndpoints, getRestApiDocAsJson, getRestModelAsXml, getRestServices, getRouteModelAsXml, getRoutes, getRoutes, getRouteStatsAsXml, listComponents, listComponentsCatalog, listComponentsLabelCatalog, listDataFormatsCatalog, listDataFormatsLabelCatalog, listEipsCatalog, listEipsLabelCatalog, listLanguagesCatalog, listLanguagesLabelCatalog, resetRouteStats, resumeContext, resumeRoute, startContext, startRoute, stopContext, stopRoute, suspendContext, suspendRoute
void using(org.jolokia.client.J4pClient client)
J4pClient
with this controller.client
- the client to usevoid connect(String url, String username, String password) throws Exception
url
- the url for the remote jolokia agentusername
- optional usernamepassword
- optional passwordException
- can be thrownboolean ping()
Apache Camel