davsclaus commented on a change in pull request #2750:
URL: https://github.com/apache/camel-quarkus/pull/2750#discussion_r647968514
##########
File path:
integration-tests/kamelet/src/test/java/org/apache/camel/quarkus/component/kamelet/it/KameletTest.java
##########
@@ -65,4 +65,23 @@ public void testKameletChain() {
.statusCode(200)
.body(is("Hello Camel Quarkus Kamelet Chained Route"));
}
+
+ @Test
+ public void testInvoke() {
+ RestAssured.given()
+ .contentType(ContentType.TEXT)
+ .body("Kamelet")
+ .post("/kamelet/invoke/toUpperWithBean")
+ .then()
+ .statusCode(200)
+ .body(is("KAMELET"));
+
+ RestAssured.given()
+ .contentType(ContentType.TEXT)
+ .body("Kamelet")
Review comment:
I would send another input body so the result is different from the
previous test, eg such as Kamelet2
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]