An endpoint defines an external destination for an outgoing message through WSO2 ESB. An <endpoint> element defines an endpoint in the configuration. An endpoint may be specified as an address endpoint, WSDL based endpoint, a load balancing endpoint or a fail-over endpoint as follows:
Code Block | ||
---|---|---|
| ||
<endpoint [name="string"] [key="string"]> address-endpoint | default-endpoint | wsdl-endpoint | load-balanced-endpoint | fail-over-endpoint </endpoint> |
All the types of endpoints can have a name attribute which specify the name of the endpoint and such named endpoints can be referred by other endpoints using a key attribute. For example, if there is an endpoint named as "foo," the following endpoint can be used in any place, where "foo" has to be used.
Code Block | ||
---|---|---|
| ||
<endpoint key="foo"/> |
This let the users to reuse the already defined endpoints in several places.
...
Endpoints can be added, edited, and deleted. You can also enable statistics for Address and WSDL endpoints.
Excerpt | ||
---|---|---|
| ||
General information about endpoints in WSO2 ESB. |