Here the HTTP endpoint allows you to define REST endpoints using URI templates.
You can use HTTP endpoint Syntex as below,
HTTP Endpoint Attributes
- uri-template - The URI template that constructs the RESTful endpoint URL at runtime.
- method - The HTTP method to use during the invocation.
The Call mediator is used to send messages out of the ESB to an endpoint. You can call services either in blocking or non-blocking manner. When you call a service in non-blocking mode, the worker thread returns without waiting for the response from back-end service. In blocking mode, the underlying worker thread gets blocked and waits for the response after sending the request to the endpoint. Call mediator in blocking mode is similar to the Callout mediator.