masterflux opened a new issue, #4524: URL: https://github.com/apache/camel-k/issues/4524
// camel-k: name=pojo-jar // camel-k: dependency=camel-jackson // camel-k: dependency=camel-quarkus-rest-openapi // camel-k: dependency=mvn:org.projectlombok:lombok:1.18.22 // camel-k: resource=file:C:/beans/target/pojo-jar-1.0.0.jar // camel-k: trait=jvm.classpath=/etc/camel/resources/pojo-jar-1.0.0.jar package org.apache.camel; import lombok.extern.slf4j.Slf4j; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.model.rest.RestBindingMode; import org.apache.camel.model.rest.RestParamType; @Slf4j public class OpenApiRoute extends RouteBuilder { @Override public void configure() { getContext().getRegistry().bind("userService", new UserService()); restConfiguration() .component("platform-http") .bindingMode(RestBindingMode.json) .dataFormatProperty("prettyPrint", "true") .apiContextPath("/api-doc") .apiProperty("api.title", "User API").apiProperty("api.version", "1.2.3") .apiProperty("cors", "true") .clientRequestValidation(true); rest("/users").description("User rest service") .consumes("application/json").produces("application/json") .get("/{id}").description("Find user by id").outType(User.class) .param().name("id").type(RestParamType.path).description("The id of the user to get").dataType("integer").endParam() .responseMessage().code(200).message("The user").endResponseMessage() .to("bean:userService?method=getUser(${header.id})") .put().description("Updates or create a user").type(User.class) .param().name("body").type(RestParamType.body).description("The user to update or create").required(true).endParam() .responseMessage().code(200).message("User created or updated").endResponseMessage() .to("bean:userService?method=updateUser") .get().description("Find all users").outType(User[].class) .responseMessage().code(200).message("All users").endResponseMessage() .to("bean:userService?method=listUsers") .get("/{id}/departments/{did}").description("Find all users").outType(User[].class) .param().name("id").type(RestParamType.path).description("The id of the user to get").dataType("integer").endParam() .param().name("did").type(RestParamType.path).description("The id of the department to get").dataType("integer").required(true).endParam() .responseMessage().code(200).message("All users").endResponseMessage() .to("bean:userService?method=listUsers"); } } -------------------------------------------------------------------------------------------------------------------------------------- Issue is the same as the titles says I am using this command to run the code : **kamel run OpenApiRoute.java -d "file://C:/CAMEL-k/camel-k-examples/generic-examples/pojo-jar/target/pojo-jar-1.0.0.jar?targetPath=/etc/camel/resources/pojo-jar-1.0.0.jar&classpath=true"** Below the SS of the issue where the code in stuck. <img width="947" alt="image" src="https://github.com/apache/camel-k/assets/97143534/d2511390-6721-4957-ac77-b9d96bfbf811"> -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org