我在两个CXF端点之间建立了一条路由,如下所示:
<cxf:cxfEndpoint id="monitoringService"
address="${esb.monitoring-service.ep.address}" serviceName="s:monitoring-service"
endpointName="s:portSOAP" wsdlURL="classpath:/webservices/monitoring-service.wsdl"
xmlns:s="http://xyz/monitoring/"
/>
<endpoint
id="originMonitoringService"
uri="${origin.monitoring-service.ep.address}" />
<route>
<from uri="cxf:bean:monitoringService?dataFormat=MESSAGE" />
<to ref="originMonitoringService" />
</route>
然而,当'originMonitoringService'发生SOAP故障时,它们似乎不会被转发到Camel发布的端点,因此不会到达连接它的客户端。
我该如何申报此连接?
(仅供参考:$ {xx} -style变量在运行时正确替换为http://somehost/someservice等值。)