This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Failover Group

A Failover Group is a list of leaf endpoints grouped together for the purpose of passing an incoming message from one endpoint to another if a failover occurs. The first endpoint in failover group is considered the primary endpoint. An incoming message is first directed to the primary endpoint, and all other endpoints in the group serve as back-ups. If the primary endpoint fails, the next active endpoint is selected as the primary endpoint, and the failed endpoint is marked as inactive. Thus, failover group ensures that a message is delivered as long as there is at least one active endpoint among the listed endpoints. The ESB switches back to the primary endpoint as soon as it becomes available. This behaviour is known as dynamic failover.

An endpoint failure occurs when an endpoint is unable to invoke a service. Note that an endpoint which responds with an error is not considered a failed endpoint.

 



XML Configuration

Note

You can configure the Failover endpoint using XML. Click on Switch to source view link in the Failover Group page.

<failover>
    <endpoint .../>+
</failover>

UI Configuration

The following page is opened by clicking Failover Group in the Add Endpoint tab of the Manage Endpoints page.

  1. Enter a name for the failover group endpoint, and if you want to add any properties, click Add Property and specify the properties.
  2. To add a child endpoint to the failover endpoint, click Add Child, and then select the required endpoint type from the list.
  3. Do the following:
    1. Enter the basic details for the child endpoint, such as the name and address.
    2. Click Show Advanced Options and specify the advanced options you want for this endpoint. 
    3. To add properties to the child endpoint, click Add Property and specify the properties.
    4. Click Update.
  4. Add more child endpoints as needed, and then save the failover group endpoint.

Â