Hi Chathura,

What we discusses is we need to build the MC by calling
buildWithAttchaments() then entire input stream is written MC SoapEnvelop
So  we can reuse that object .We dont need to build request at every time
when we send through endpoint.

On Fri, Mar 27, 2015 at 10:15 AM, Chathura Priyankara <[email protected]>
wrote:

> Hi,
>
> I'm working on implementing a failover endpoint support for response http
> status codes for my fast track training project. To resend the request I
> need to attach a copy of message context to the same request.
> So currently what I'm doing is clone the message for the first time and
> when re sending the message build the cloned message and
> set that as a property to the request. This message context will use in
> the next time sending.
>
> Is this way of creating a copy of request is good ?
>
> Thanks
> Best Regards.
>
> --
> Chathura Priyankara
> Software Engineer | WSO2 Inc.
> Mobile : +94718795340
> Blog : www.codeoncloud.blogspot.com
>



-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to