aldettinger commented on code in PR #4345:
URL: https://github.com/apache/camel-quarkus/pull/4345#discussion_r1063425092


##########
integration-test-groups/aws2/aws2-cw/src/main/java/org/apache/camel/quarkus/component/aws2/cw/it/Aws2CwResource.java:
##########
@@ -61,4 +68,48 @@ public Response post(
                 .created(new URI("https://camel.apache.org/";))
                 .build();
     }
+
+    @Path("/send-metric-map/{namespace}")
+    @POST
+    @Consumes("application/x-www-form-urlencoded")
+    @Produces(MediaType.TEXT_PLAIN)
+    public Response postMap(
+            @PathParam("namespace") String namespace,
+            @HeaderParam("customClientName") String customClientName,
+            MultivaluedMap<String, String> formParams) throws Exception {
+
+        String uri = "aws2-cw://" + namespace;
+        uri = customClientName != null && !customClientName.isEmpty()
+                ? uri + "?autowiredEnabled=false&amazonCwClient=#" + 
customClientName : uri;
+
+        //use Instant as timestamp header

Review Comment:
   Does this comment apply to the whole set of instructions below ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to