Reputation: 121
I am confused with the above two mediators. What is the difference between Call out
mediator and send
mediator in wso2ESB mediators?
Upvotes: 1
Views: 1249
Reputation: 1704
Additionally to callout mediator WSO2 ESB team has introduced another brand new mediator to serve blocking call to Backend. "Call Mediator" is very similar to the Callout Mediator, which performs a blocking external service invocation during mediation. Unlike the Callout mediator, the Call mediator leverages the non-blocking transports for much greater performance.
Upvotes: 1
Reputation: 997
Actually callout mediator makes a blocking call, it cannot use the default non-blocking http/s transports based on Java NIO. But the send mediator makes aynchronous call for services. This is the basic difference between them. For more about those you can refer the documentation; http://docs.wso2.org/display/ESB470/Mediators
Upvotes: 2