...
4. The "Manage Endpoints" page appears.
Select an endpoint you want to add. The available options are:
- Address Endpoint - Defines the direct URL of the service.
- Default Endpoint - Defines additional configuration for the default target.
- WSDL Endpoint - Defines the WSDL, Service and Port.
- Fail-over Endpoint - Defines the endpoints that the service will try to connect to in case of a failure. This will take place in a round robin manner.
- Load-Balance Group - Defines groups of endpoints for replicated services. The incoming requests will be directed to these endpoints in a round robin manner. These endpoints automatically handle the fail-over cases as well.
- Template Endpoint - Allows to create a custom Endpoint template.
- Recipient List Endpoint - Defines the list of endpoints a message will be routed to.
5. Specify the required details according to the type of endpoint. For the detailed description of special options see:
- Address Endpoint
- Default Endpoint
- WSDL Endpoint
- Failover Endpoint
- Load-balance Endpoint
- Template Endpoint
- Recipient List Endpoint
Common options are as follows:
Field Name | Description |
---|---|
Suspend Error Codes | A list of error codes. If these error codes are received from the endpoint, the endpoint will be suspended. |
Initial Duration (Millis) | The duration that the endpoint is suspended for the first time after the receiving the suspend error codes. |
Max Duration (Millis) | The maximum duration that the endpoint is suspended after the receiving the suspend error codes. |
Factor | The duration to suspend can vary from the first time suspension to the subsequent time. The factor value decides the suspense duration variance between subsequent suspensions. |
On Timeout Error codes | A list of error codes. If these error codes are received from the endpoint, the request will be subjected to a timeout. |
Retry | The number of re-tries in case of a timeout, caused by the above listed error codes. |
Retry Delay(Millis) | The delay between retries, in milliseconds. |
Timeout Action | The action to be done at a timeout situation. You can select from:
|
Timeout Duration (Mills) | The duration in milliseconds before considering a request as timeout. |
WS-Addressing | Adds WS-Addressing headers to the endpoint. |
Separate Listener | The listener to the response will be a separate transport stream from the caller. |
WS-Security | Adds WS-Security features as described in a policy key (referring to a registry location). |
WS-Reliable Messaging | Adds WS-Reliable Messaging features as described in a policy key (referring to a registry location). |
Non Retry Error Codes | When a child endpoint of failover/loadbalance endpoint failed for a given error code, the request will not be send to the other child endpoints of failover/loadbalance endpoint. That means retry will not be happen with the rest of the child endpoints. This option is available only when endpoint is added as a child endpoint of failover/loadbalance endpoint |
6. Add properties to an Endpoint if necessary. Use the "Add Property" link.
...
See more information in Properties.
8. Click "Save."
Excerpt | ||
---|---|---|
| ||
Instructions on how to add an endpoint in WSO2 ESB. |