You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "lburgazzoli (via GitHub)" <gi...@apache.org> on 2023/04/03 22:21:07 UTC

[GitHub] [camel-k] lburgazzoli commented on issue #4225: duplicate routeId issue

lburgazzoli commented on issue #4225:
URL: https://github.com/apache/camel-k/issues/4225#issuecomment-1495061506

   Yes it is expected.
   When camel-k process the openapi definition, it generates some routes for you, like:
   
   ```java
   from("platform-http:/mert?method=GET")
       .to("direct:mertGet")
   from("platform-http:/mert?method=POST")
       .to("direct:mertPost")
   ```
   
   Then you use that `direct` endpoints to  wire your logic to the http handler.
   
   You can look at the generate code to have some better detail about what is generated. ((it is one of the configmap mounted to the integration pod) 
   


-- 
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-unsubscribe@camel.apache.org

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