i defined a route for camel cxf rest in proxy way on camel-context.xml it is
working fine without any problme
but when i define this route in Routebuilder. it does not work. i can see
the the TestRestProcessor is called but does not return result to client

any hints will be more than welcome!

 <cxf:rsServer id="testRest" address="http://0.0.0.0:9191/rest";
                 
serviceClass="org.apache.camel.example.rest.TestRestService"/>
    
    <bean id="reportIncidentRoutes"
class="org.apache.camel.example.reportincident.ReportIncidentRoutes"/>
    <bean id="restTestProcessor"
class="org.apache.camel.example.rest.TestRestProcessor"/>


        <camel:route>       
            <camel:from uri="cxfrs://bean://testRest"/>      
            <camel:setHeader headerName="CamelCxfRsUsingHttpAPI">         
                <camel:constant>True</camel:constant>               
            </camel:setHeader>       
            <camel:to uri="restTestProcessor"/>    
        </camel:route>

in route builder
 from("cxfrs:bean:testRest").to("bean:restTestProcessor");



--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-cxf-rest-doesnot-work-on-my-routebuilder-at-FUSE-tp5770270.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to