Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 EndpointImage Removed

...

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
titleNote

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

Image Added

  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.
    Image Added 
    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.
    Address

...

  1. The

...

  1. address

...

  1. of the endpoint (e.g., http://

...

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

    Image Added

    Parameters

...

  1. The

...

  1. parameters of the endpoint. For example,

...

  1. you can add name to add the parameter name, and uri to add the address etc.
  2. Click Save and Close to save the endpoint configuration in the Synapse configuration, or click Save in Registry to save it in the Registry.
  3. 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.
    Image Added 
  4. Click Save and Close to save the configuration.
Excerpt
hiddentrue

Instructions on how to create a template endpoint.