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/.

Template Endpoint

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.

Note

You can also configure a Template endpoint using XML. Click Switch to source view in the Template Endpoint page.

  1. Log into the ESB Management Console. In the Main tab, click Endpoints to open the Manage Endpoints page.
  2.  Click Template Endpoint to open the Template Endpoint page.
     
    Enter the required values for the following parameters.

    Parameter NameDescription
    NameThis is a Default Endpoint specific option. It defines the unique name of an endpoint.
    AddressThe 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.

    ParametersThe parameters of the endpoint. For example, you can add name to add the parameter name, and uri to add the address etc.
  3. Click Save and Close to save the endpoint configuration in the Synapse configuration, or click Save in Registry to save it in the Registry.
  4. 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.
     
  5. Click Save and Close to save the configuration.