Class Aws2CwResource


  • @Path("/aws2-cw")
    @ApplicationScoped
    public class Aws2CwResource
    extends Object
    • Field Detail

      • producerTemplate

        @Inject
        org.apache.camel.ProducerTemplate producerTemplate
    • Constructor Detail

      • Aws2CwResource

        public Aws2CwResource()
    • 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