문제

my camel router :

<cxf:cxfEndpoint id="chdEndpoint"
    address="http://0.0.0.0:8080/chd-esb/callService"      endpointName="s:RealServerImplPort"
    serviceName="s:RealServerImplService" wsdlURL="wsdl/RealServer.wsdl"
    xmlns:s="http://server.example.com/" />

<route id="chd-webservice">
      <from uri="cxf:bean:chdEndpoint?dataFormat=MESSAGE" />
      <log message="get client call webservice!" />
    <to ref="callChdRealWebService" />
    <log message="get real webservice back" />
    </route>

I deploy my camel router in karaf. I want to know if client call webservice ,the http request first to jetty and jetty put request to camel then camel use cxf call real webservice

도움이 되었습니까?

해결책

You use Apache CXF, eg the cxfEndpoint to publish the web service on the Karaf server. And when you do that Apache CXF uses the HTTP service of Apache Karaf, which is Jetty based. So in the bottom line, its Jetty that is used.

Apache Karaf has a etc/jetty.xml configuration file, where Jetty is configured.

You can find some details about the OSGi HTTP service and Jetty on the Karaf website, such as: http://karaf.apache.org/manual/latest-2.3.x/users-guide/http.html

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top