Quarkus 上的 Apache Camel - CXF SOAP - 本地主机问题:8080

问题描述 投票:0回答:0

我正在使用 Quarkus Apache Camel。我想使用 camel-quarkus-cxf-soap。我试过这个: https://code.quarkus.io/?e=org.apache.camel.quarkus%3Acamel-quarkus-cxf-soap&extension-search=camel-quarkus-cxf-soap

如果我启动应用程序 (mvn quarkus:dev) 并浏览到 http://localhost:8080,则会显示以下文本: “没有找到服务。” 页面的标题是: “CXF - 服务清单”

此外,当我启动应用程序时,我会在下面看到信息日志。 (我想这 might 是我问题的一部分。) “根据 [camel-cxf-soap] 的要求将 CXF 的 Vert.x 处理程序映射到 /*”

当我浏览到 http://localhost:8080/q/health 时,我得到了相同的文本: “没有找到服务。” 而且我还收到警告日志: “找不到 http://localhost:8080/q/health 的 Observer 请求”

我希望我的应用程序像这样工作:

  1. 浏览http://localhost:8080 显示自己定义的网页
  2. 浏览到 http://localhost:8080/q/health 并得到显示 Quarkus Camel 应用程序健康状况的结果。
  3. 仍然能够从我的应用程序调用 SOAP 服务。

问候 马格纳斯

maven soap apache-camel cxf quarkus
© www.soinside.com 2019 - 2024. All rights reserved.