liubao68 commented on issue #2045: URL: https://github.com/apache/servicecomb-java-chassis/issues/2045#issuecomment-725077980
你描述的场景比较复杂,很多部分我也无法理解。 需要保留老系统功能,比如 servlet 等, 可以采用 rest on servlet 的方式使用 java-chassis。 这个时候, java-chassis 自己就是一个 servlet, 这个servlet加载的时候,会自动扫描所有的 REST/RPC 接口,并注册契约信息。 你的其他的老 servlet 等,保持不变就可以了。 rest on servlet 场景, 注册的 endpoint 里面一般始终有 urlPrifx 的, 如果没有,那么应该就是集成有误(即 java-chassis 另外启动了一个新的 vert.x http server)。 ---------------------------------------------------------------- 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]
