RE: how to send response to the webservice

2015-03-16 Thread chaituu
thanks for all replies. as all you said we can resolve this issue by using any of one of these following patterns. 1)wireTap uri=seda:generateCSV/ 2)inOnly uri=seda:generateCSV/ 3)to uri=seda:generateCSV pattern=inOnly/ -- View this message in context:

RE: how to send response to the webservice

2015-03-14 Thread Reji Mathews
Hey Try this way. route from uri=cxf:bean:orderEndpoint / bean ref=processor method=processOrderWebservice/ inOnly uri=seda:generateCSV/ setBody ...write the camel code here to set exchange body with the OrderReponseobject. Looks like ur cxf dataFormat is POJO by

RE: how to send response to the webservice

2015-03-13 Thread prajod.vettiyattil
Hi, Add the mep attribute to the exchange in the last route: Your original code: to uri=file:target/messages?fileName= ${date:now:MMdd}/TEST_${date:now:MMdd}.csv/ Your code with mep attribute added: to uri=file:target/messages?fileName=

RE: how to send response to the webservice

2015-03-13 Thread chaituu
Prajod, I need OrderReponse should be sent to webservice not the file output. -- View this message in context: http://camel.465427.n5.nabble.com/how-to-send-response-to-the-webservice-after-generated-the-csv-route-tp5764065p5764079.html Sent from the Camel - Users mailing list archive at

Re: how to send response to the webservice

2015-03-12 Thread Taariq Levack
Hi Instead of routing to seda:generateCSV, you can wiretap, then the response goes back to the client while the file is generated. See http://camel.apache.org/wire-tap.html On Fri, Mar 13, 2015 at 3:55 AM, chaituu yarlagadd...@gmail.com wrote: route from uri=cxf:bean:orderEndpoint /