zhfeng commented on code in PR #3953: URL: https://github.com/apache/camel-quarkus/pull/3953#discussion_r936408330
########## integration-tests/validator/src/main/java/org/apache/camel/quarkus/component/validator/it/ValidatorResource.java: ########## @@ -32,11 +32,28 @@ public class ValidatorResource { @Inject ProducerTemplate producerTemplate; - @Path("/xml") + @Path("/classpath") @POST @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.TEXT_PLAIN) - public String processOrder(String statement) { - return producerTemplate.requestBody("direct:start", statement, String.class); + public String processOrderInXmlFromClassPath(String statement) { + return producerTemplate.requestBody("direct:classpath", statement, String.class); } + + @Path("/filesystem") + @POST + @Consumes(MediaType.APPLICATION_XML) + @Produces(MediaType.TEXT_PLAIN) + public String processOrderInXmlFromFileSystem(String statement) { + return producerTemplate.requestBody("direct:filesystem", statement, String.class); + } + + @Path("/http") + @POST + @Consumes(MediaType.APPLICATION_XML) + @Produces(MediaType.TEXT_PLAIN) + public String processOrderInXmlFromHTTP(String statement) { + return producerTemplate.requestBody("direct:http", statement, String.class); + } Review Comment: This test is working in the native mode? -- 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