Class ManagementResource
java.lang.Object
org.apache.camel.quarkus.component.management.it.ManagementResource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.camel.CamelContext(package private) org.apache.camel.ProducerTemplate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMBeanAttribute(String name, String attribute) invokeMBeanOperation(String name, String operation) invokeRoute(String endpointUri) voidremoveRoute(String routeId) voidupdateRoute(String routeId, String xml)
-
Field Details
-
template
@Inject org.apache.camel.ProducerTemplate template -
camelContext
@Inject org.apache.camel.CamelContext camelContext
-
-
Constructor Details
-
ManagementResource
public ManagementResource()
-
-
Method Details
-
getContextName
-
getMBeanAttribute
@GET @Path("/attribute") @Produces("text/plain") public String getMBeanAttribute(@QueryParam("name") String name, @QueryParam("attribute") String attribute) throws Exception - Throws:
Exception
-
invokeMBeanOperation
@POST @Path("/invoke") @Produces("text/plain") public String invokeMBeanOperation(@QueryParam("name") String name, @QueryParam("operation") String operation) throws Exception - Throws:
Exception
-
invokeRoute
-
updateRoute
@PATCH @Path("/route") public void updateRoute(@QueryParam("routeId") String routeId, String xml) throws Exception - Throws:
Exception
-
removeRoute
@DELETE @Path("/route") public void removeRoute(@QueryParam("routeId") String routeId) throws Exception - Throws:
Exception
-