java - Camel-cxf 停止路线关闭巴士
问题描述
我有一个无法用骆驼修复的错误。当我停止并删除使用 cxf 的骆驼路线时。我得到以下日志:
INFO o.a.c.s.SpringCamelContext - Route: TOTO-S is stopped, was
consuming from: direct://secondMouvement-TOTO
16:37:13.728 [http-nio-18203-exec-3] INFO o.a.c.s.SpringCamelContext -
Route: TOTO-S is shutdown and removed, was consuming from:
direct://secondMouvement-TOTO
16:37:13.729 [http-nio-18203-exec-3] INFO o.a.c.c.c.CxfEndpoint - shutdown
the bus ... org.apache.cxf.bus.spring.SpringBus@48f47737
问题是我的 webapp 以及其他路由公开了 cxf 服务。在此停止之后,我的 webapp 不再提供任何服务......
我目前在骆驼 2.22 和 cxf 3.2.5
我的 TOTO 路线最后只是这样做:
<to uri="cxf://{{TOTO-S.wss.url}}?serviceName={{{TOTO-S.wss.namespace}}}{{TOTO-S.wss.servicename}}&portName={{{TOTO-S.wss.namespace}}}{{TOTO-S.wss.portname}}&dataFormat=PAYLOAD" />
提前致谢。
解决方案
推荐阅读
- android - flutter 处理方法调用失败,IllegalArgumentException: Not supported, use openfile
- unix - patch 命令的“-Np1”选项有什么作用?
- mysql - 仅在一个数据库模式上更改 character_set_client 、 character_set_connection 和 character_set_results
- c++ - 避免 C++ 模板实现中的重复代码
- clickhouse - 在clickhouse中,投射失败时如何返回null而不是抛出异常?
- php - 使用 sqlsrv_connect 与 SQL Server 的 PHP 连接
- javascript - 在没有 SSL 的情况下将更新推送到 Web 应用程序
- mariadb - 将 SQL Server 脚本转换为 MariaDB 脚本
- docker - 如何dockerize spring cloud gateway和eureka server并与keycloak链接?
- assembly - 将反汇编 .lst 文件映射到 GCC 中用于 RISC-V 的 C 程序