开发者

How do I set up a Camel route between two CXF endpoints where the SOAP faults are transferred correctly?

开发者 https://www.devze.com 2023-04-12 06:57 出处:网络
I set up a route between two CXF endpoints up like this: <cxf:cxfEndpoint id=\"monitoringService\" address=\"${esb.monitoring-service.ep.address}\" serviceName=\"s:monitoring-service\"

I set up a route between two CXF endpoints up like this:

<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>

However when there are SOAP faults happening at the 'originMonitoringService' then they seem not to be forwarded to the endpoint published by Camel and as such do not reach the client that is connecting to it.

How am I supposed to declare this connectio开发者_JAVA百科n?

(Just FYI: ${xx}-style variable are properly replaced with values like http://somehost/someservice at runtime.)


This issue should be fixed by CAMEL-4570

0

精彩评论

暂无评论...
验证码 换一张
取 消