The Call mediator is used to send messages out of the ESB to an endpoint. The Call mediator invokes the service in a synchronous manner and returns without waiting for the response. Mediation will be paused from that point. When the response is received, the mediation flow resumes from the next mediator in the sequence.
The Call mediator behavior 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.
...
If we do not provide an endpoint, it will try to send the message using the wsa:to
address of the message. Also, if we use the Call mediator in the out path of the ESB without specifying an endpoint, it will send the message as a reply. If we do provide an endpoint, it will send the message according to the information in the endpoint. Endpoint type can be either a Leaf endpoint (Address/ WSDL, Default/ Http) or a Group endpoint (Failover/Loadbalance/Recipient List).
...
Syntax
Code Block | ||||
---|---|---|---|---|
| ||||
<call/> |
...