Hi,

This is regarding the issue[1]. This occurs because the json stream is not
set in the MessageContext before the call mediator in blocking mode tries
to call the JsonFormatter.
We are setting the json stream only when building the message. Is there a
specific reason for setting it only when building the message? Can't we set
it before building the message? If this is set as soon as the message comes
in the issue could be resolved.

Or other option would be to set the json stream in the call mediator for
blocking mode which is not the best option.

For call mediator in non-blocking mode the message goes through the pass
through transport and hence has no issues, but when in blocking mode the
message formatter is called. Can someone explain why this difference in
behavior for the two modes of the same mediator?

[1]https://github.com/wso2/product-ei/issues/1805

Thanks,
Riyafa

-- 
Riyafa Abdul Hameed
Software Engineer, WSO2 Lanka (Pvt) Ltd <http://wso2.com/>

Email: riy...@wso2.com <riyafa...@cse.mrt.ac.lk>
Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
<http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
<http://twitter.com/Riyafa1>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to