Hi Cylus Sorry for late reply, I have not been touching with the Synapse's mailing list for last few weeks ...
It is in [1]. It was implemented for a special user for supporting specific requirements. It uses the concept of fragment-based processing, which is employed by Smooks too. I believe there should be a Smooks mediator WSO2 ESB 3.0.0 release. You may try that. Thanks Indika [1] http://wso2.org/svn/browse/wso2/people/indika/mediators/ code is though. Indika? > > Also, these sort of requirements can be handled by Smooks a transformation > library which can be converted to a mediator. To answer question on adding > logic to endpoint to process the response, it is not possible, becuase of > the asynchronous behavior of the synapse engine. When you call > endpoint.send > the method returns before getting the response, actually even before the > message sending being completed. > > Thanks, > Ruwan > > On Fri, Aug 6, 2010 at 4:43 AM, Penkar, Cylus <[email protected]> wrote: > > > Folks, > > > > We have a need to further process the response returned by a SOAP service > > to do some transformation on it. XSLT mediator will not work IMHO because > > the response is huge and correct me if I am wrong but it will definitely > > slow down processing. > > > > 1) Is there a way to get access to XML stream processing? > > 2) Can we insert logic in the endpoint to transform the response as > > the response stream is being read? > > > > Thanks, > > Cylus > > > > > > > -- > Ruwan Linton > Software Architect & Product Manager, WSO2 ESB; http://wso2.org/esb > WSO2 <http://wso2.org/esb%0AWSO2> Inc.; http://wso2.org > > Lean . Enterprise . Middleware > > phone: +1 408 754 7388 ext 51789 > email: [email protected]; cell: +94 77 341 3097 > blog: http://blog.ruwan.org > linkedin: http://www.linkedin.com/in/ruwanlinton > google: http://www.google.com/profiles/ruwan.linton > tweet: http://twitter.com/ruwanlinton >
