Camel Upgrade 2.22破坏了Apache CXF端点

时间:2018-08-27 22:59:58

标签: spring-boot apache-camel cxf

我已经升级了骆驼2.22。连同CXF版本3.2.5,春季启动2.04。 当我启动应用程序时,我看不到任何错误,但是无法再访问端点

下面是代码:

1)骆驼路线:

<cxf:cxfEndpoint id="porEndpoint" address="/por/" serviceClass="x.y.z.service.PorService" publishedEndpointUrl="">
        <cxf:binding>
            <soap:soapBinding version="1.2"/>
        </cxf:binding>
</cxf:cxfEndpoint>

2)属性: cxf.path = / services
server.servlet.context-path = / fuse-test

3)此URL之前运行良好:http://localhost:8080/fuse-test/services/por?wsdl

我已在上下文级别和日志模式下将跟踪启用为调试,但是除了,我找不到任何错误: o.s.s.ldap.SpringSecurityLdapTemplate:忽略PartialResultException

1 个答案:

答案 0 :(得分:2)

camel-cxf(v 3.2.5)不包含cxf弹簧靴。添加以下依赖项后,端点可用

<dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
            <version>3.2.6</version>
</dependency>