首页 > 解决方案 > 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}}&amp;portName={{{TOTO-S.wss.namespace}}}{{TOTO-S.wss.portname}}&amp;dataFormat=PAYLOAD" />

提前致谢。

标签: javaapache-camelcamel-cxf

解决方案


推荐阅读