Skip to main content

Posts

Showing posts with the label Synapse

What happens to a message going through WSO2 ESB synapse mediation engine ( Looking up the source code)

In the previous blog post [1], I have discussed about the PassThrough Transport and how it works. If you follow this [2] article, you can learn about what is happening inside PTT when a message is received. The below diagram depicts the relationship of PTT, Axis2 and Synaps Mediation engine within WSO2 ESB. [1]  http://soatutorials.blogspot.com/2015/05/understanding-wso2-esb-pass-through.html [2]  http://wso2.com/library/articles/2013/12/demystifying-wso2-esb-pass-through-transport-part-iii/ As depicted in the above diagram, When a message comes to the ESB, it will be received by the reactor thread of Pass Through Listener and the message will be read in to an internal buffer. Then it will be processed through a separate worker thread and will flows through the Axis2 In message flow. Then Axis2 engine will call the respective message receiver (SynapseMessageReceiver, ProxyMessageReceiver or SynapseCallbackReceiver) class. This would be the main entry poi...