Class Aws2CwResource
java.lang.Object
org.apache.camel.quarkus.test.support.aws2.BaseAws2Resource
org.apache.camel.quarkus.component.aws2.cw.it.Aws2CwResource
@Path("/aws2-cw")
@ApplicationScoped
public class Aws2CwResource
extends org.apache.camel.quarkus.test.support.aws2.BaseAws2Resource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.camel.ProducerTemplate -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.camel.quarkus.test.support.aws2.BaseAws2Resource
initializeDefaultCredentials, isUseDefaultCredentials, onDefaultCredentialsProviderChange, setUseDefaultCredentials
-
Field Details
-
producerTemplate
@Inject org.apache.camel.ProducerTemplate producerTemplate
-
-
Constructor Details
-
Aws2CwResource
public Aws2CwResource()
-
-
Method Details
-
schedule
void schedule() -
post
@Path("/send-metric/{namespace}/{metric-name}/{metric-unit}") @POST @Consumes("text/plain") @Produces("text/plain") public jakarta.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
-
postMap
@Path("/send-metric-map/{namespace}") @POST @Consumes("application/x-www-form-urlencoded") @Produces("text/plain") public jakarta.ws.rs.core.Response postMap(@PathParam("namespace") String namespace, @HeaderParam("returnExceptionMessage") boolean returnExceptionMessage, @HeaderParam("customClientName") String customClientName, jakarta.ws.rs.core.MultivaluedMap<String, String> formParams) throws Exception- Throws:
Exception
-