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) 2) 3) -- View this message in context: http://camel.465427.n5.nabble.com/how-to-send-response-to-the-webservice-after-generated-the-csv-route-tp5764065p5764241.html Sent from

RE: how to send response to the webservice

2015-03-13 Thread Reji Mathews
Hey Try this way. ...write the camel code here to set exchange body with the OrderReponseobject. Looks like ur cxf dataFormat is POJO by default. If so set the java object there. Else if it's in PAYLOAD mode then hardcode the OrderReponse xml...

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 Nabbl

RE: how to send response to the webservice

2015-03-12 Thread prajod.vettiyattil
Hi, Add the mep attribute to the exchange in the last route: Your original code: Your code with mep attribute added: Prajod -Original Message- From: chaituu [mailto:yarlagadd...@gmail.com] Sent: 13 March 2015 07:26 To: users@camel.apache.org Subject: how to send response to the webse

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 wrote: > > > // generate the OrderResponse reply for