An endpoint defines an external destination for an outgoing message through WSO2 ESB. WSO2 ESB allows you to create a template of an endpoint easily. Follow the instructions below to add a new template endpoint to the list.
1. In the "Add Endpoint" tab, click "Template Endpoint" (See Adding an Endpoint). The "Template Endpoint" page appears.
...
Template endpoints are created based on predefined endpoint templates. Parameters of the endpoint template used as the target are copied to the endpoint configuration. However, you can make modifications by removing some of the copied parameters and/or adding new parameters.
A template endpoint can be defined following the instructions below.
Info | ||
---|---|---|
| ||
You can also configure a Template endpoint using XML. Click Switch to source view in the Template Endpoint page. |
- Log into the ESB Management Console. In the Main tab, click Endpoints to open the Manage Endpoints page.
Click Template Endpoint to open the Template Endpoint page.
Enter the required values for the following parameters.Parameter Name Description Name This is a Default Endpoint specific option. It defines the unique name of an endpoint. Address
...
The
...
address
...
of the endpoint (e.g., http://
...
wso2.com). Target Template The endpoint template which should be used to define the endpoint. This is specified by selecting one of the existing templates from the Available Templates list. The parameters to be included in the endpoint you are defining will be copied from the target template. The values for these parameters can be entered in the Template Endpoint Parameters section shown below. Click Delete Parameter to remove a parameter fetched from the target template. Click Add Parameter to add additional parameters.
Parameters
...
The
...
parameters of the endpoint. For example,
...
you can add name
to add the parameter name, anduri
to add the address etc.- Click Save and Close to save the endpoint configuration in the Synapse configuration, or click Save in Registry to save it in the Registry.
- If you clicked Save in Registry, the page will expand to display the Save as Synapse Registry Entry section. Select either Configuration Registry or Governance Registry as relevant to specify the registry in which the endpoint should be saved. Then define a key for the registry entry in the Key parameter.
- Click Save and Close to save the configuration.
Excerpt | ||
---|---|---|
| ||
Instructions on how to create a template endpoint. |