camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nono <yan.w...@db-is.com>
Subject Re: question about example at http://camel.apache.org/cxfrs.html
Date Mon, 27 Jul 2015 14:08:13 GMT
sorry, i dont understand what do you mean by

That example you talk about is about CXF and camel-cxf. So take a 
closer look at that 
http://camel.apache.org/cxf
http://cxf.apache.org/

the example I am talking about is from http://camel.apache.org/cxfrs.html as
below shown


<bean id="customerService"
class="org.apache.camel.component.cxf.jaxrs.testbean.CustomerService" />        
<cxf:rsServer id="rsServer"
address="http://localhost:${CXFTestSupport.port1}/CxfRsRouterTest/route"   
serviceClass="org.apache.camel.component.cxf.jaxrs.testbean.CustomerService"    
loggingFeatureEnabled="true" loggingSizeLimit="20" skipFaultLogging="true"/>     
<cxf:rsClient id="rsClient"
address="http://localhost:${CXFTestSupport.port2}/CxfRsRouterTest/rest"   
serviceClass="org.apache.camel.component.cxf.jaxrs.testbean.CustomerService"   
loggingFeatureEnabled="true" skipFaultLogging="true"/>       
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">    
    <route>       
        <from uri="cxfrs://bean://rsServer"/>              
        <setHeader headerName="CamelCxfRsUsingHttpAPI">         
            <constant>True</constant>               
        </setHeader>       
        <to uri="cxfrs://bean://rsClient"/>    
    </route>  
</camelContext>



--
View this message in context: http://camel.465427.n5.nabble.com/question-about-example-at-http-camel-apache-org-cxfrs-html-tp5769949p5769973.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message