camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: how to send response to the webservice
Date Fri, 13 Mar 2015 06:27:48 GMT

Add the mep attribute to the exchange in the last route:

Your original code:
<to uri="file:target/messages?fileName=

Your code with mep attribute added:

<to uri="file:target/messages?fileName=

-----Original Message-----
From: chaituu []
Sent: 13 March 2015 07:26
Subject: how to send response to the webservice

        <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

        <from uri="seda:generateCSV"/>
                <bean ref="processor" method="transFormToOrderModel"/>
                <marshal ref="csvReport"/>
        <to uri="file:target/messages?fileName=

View this message in context:
Sent from the Camel - Users mailing list archive at
The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments. WARNING: Computer viruses can be transmitted via email.
The recipient should check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted by this email.

View raw message