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 Enterprise Integrator 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.
- Enter a name for the failover group endpoint, and if you want to add any properties, click Add Property and specify the properties.
- To add a child endpoint to the failover endpoint, click Add Child, and then select the required endpoint type from the list.
- Do the following:
- Enter the basic details for the child endpoint, such as the name and address.
- Click Show Advanced Options and specify the advanced options you want for this endpoint.
- To add properties to the child endpoint, click Add Property and specify the properties.
- Click Update.
- Add more child endpoints as needed, and then save the failover group endpoint.