The Failover Endpoints send messages to the listed endpoints with the following failover behavior. At the start the first listed endpoint is selected as the primary and all other endpoints are treated as backups. Incoming messages are always sent only to the primary endpoint. If the primary endpoint fails, next active endpoint is selected as the primary and failed endpoint is marked as inactive. Thus, it sends messages successfully as long as there is at least one active endpoint among the listed endpoints. Default fail-over endpoint behavior is dynamic fail-over. ESB switches back to the primary endpoint as soon as it is available.
...
Table of Contents | ||||
---|---|---|---|---|
|
...
|
...
XML Configuration
Info | ||
---|---|---|
| ||
You can configure the Failover endpoint using XML. Click on the "Switch to source view" link in the "Failover Group" page. |
Code Block |
---|
<failover>
<endpoint .../>+
</failover>
|
...
1. In the "Add Endpoint" list, click "Fail-Over Endpoint" (See Adding an Endpoint). The "Failover Endpoint" page appears.
2. In the "Endpoint Name" field enter a name for the endpoint.
...
6. Enter the details (see Address Endpoint, Failover Endpoint, WSDL Endpoint). Click "Save."
Excerpt | ||
---|---|---|
| ||
Description of the Failover Endpoint in WSO2 ESB. |