Class Aws2CwResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.aws2.cw.it.Aws2CwResource
-
@Path("/aws2-cw") @ApplicationScoped public class Aws2CwResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description Aws2CwResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsepost(String value, String namespace, String name, String unit)(package private) voidschedule()
-
-
-
Method Detail
-
schedule
void schedule()
-
post
@Path("/send-metric/{namespace}/{metric-name}/{metric-unit}") @POST @Consumes("text/plain") @Produces("text/plain") public javax.ws.rs.core.Response post(String value, @PathParam("namespace") String namespace, @PathParam("metric-name") String name, @PathParam("metric-unit") String unit) throws Exception- Throws:
Exception
-
-