This documentation is for WSO2 ESB version 4.5.0. View documentation for the latest release.

Indirect and Resolving Endpoints

Indirect Endpoint

The Indirect Endpoint refers an actual endpoint by a key. This endpoint fetches the actual endpoint at runtime. Then it delegates the message sending to the actual endpoint. When endpoints are stored in the registry and referred, this endpoint can be used. The key is a static value for this endpoint.

Indirect Endpoint Configuration
<endpoint key="" name="" />

Resolving Endpoint

The Resolving Endpoint refers an actual endpoint using a dynamic key. The key is a XPath expression.

1. The XPath is evaluated against the current message and key is calculated at run time.
2. Resolving endpoint fetches the actual endpoint using the calculated key.
3. Resolving endpoint delegates the message sending it to the actual endpoint.

When endpoints are stored in the registry and referred, this endpoint can be used.

Resolving Endpoint Configuration
<endpoint name="" key-expression="" />

Note

You can configure the Dynamic Load-balance endpoint using XML. Click on "Source View" in the "Manage" menu.