This documentation is for WSO2 Enterprise Service Bus version 4.9.0 . View documentation for the latest release.

All docs This doc
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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 returns no response to a message. This could be as a result of the endpoint not having a listener on the port or a socket. Note that an endpoint which returns 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.

Failover Endpoint

  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.

 

  • No labels