<route>
        <from uri="cxf:bean:orderEndpoint"  />
                // generate the OrderResponse reply for the webservice which is 
still
waiting for a reply 
       <bean ref="processor" method="processOrderWebservice"/>
     
                // Passing OrderResponse to generateCSV and this route is 
working fine
        <to uri="seda:generateCSV"/> 
                // how to get final result as OrderResponse for the webservice 
that we
got in the processOrderWebservice method which is still waiting for a reply
      </route>
   
    <route>
        <from uri="seda:generateCSV"/>
                <bean ref="processor" method="transFormToOrderModel"/>
                <marshal ref="csvReport"/>
        <to uri="file:target/messages?fileName=
${date:now:yyyyMMdd}/TEST_${date:now:yyyyMMdd}.csv"/> 
    </route>



--
View this message in context: 
http://camel.465427.n5.nabble.com/how-to-send-response-to-the-webservice-tp5764065.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to