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:
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
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=
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
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 /