synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Heshan Suriyaarachchi <heshan.suriyaarach...@gmail.com>
Subject CacheMediator - Why the SOAPEnvelope is cloned before serialization
Date Thu, 31 Mar 2011 14:32:57 GMT
Hi Devs,

In the CacheMediator we serialize the SOAPEnvelope after we clone it. So,
I'm thinking the reason behind having it that way is to stop the content
being lost after the serialization is done.

MessageHelper.cloneSOAPEnvelope(synCtx.getEnvelope()).serialize(fbaos);

So, can someone shed some light into why we have it that way? Correct me if
I am wrong.

-- 
Regards,
Heshan Suriyaarachchi

http://heshans.blogspot.com/

Mime
View raw message