Hi,

If I use synCtx.getEnvelope().buildWithAttachments(); to build the message
do I need to call this every time when sending a request ?

Thanks.
Regards.

On Fri, Mar 27, 2015 at 10:15 AM, Chathura Priyankara <chathu...@wso2.com>
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
>



-- 
Chathura Priyankara
Software Engineer | WSO2 Inc.
Mobile : +94718795340
Blog : www.codeoncloud.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to