Versions Compared

Key

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

...

However, when the API publisher can only provide a single static Endpoint for an API in the implementation. Therefore which ever the gateway that the API is deployed, the API call is dirceted to a single endpoint as depicted in the diagram below.

But in most situations, you would want to have each Gateway proxying a dedicated Back-End API. To provide that capability WSO2 API Manager provides ability to specify dynamic endpoint URLs at the time of specifying the API endpoint URL. This UEL will be resolved at the runtime with the details  (host and port) we specify in the statup of each gateway. With that  each gateway will point to dedicated backend  APIs as depicted in the digram below.

Image Added

Configuring Dynamic Endpoints

Follow the below step to Configure dynamic endpoint as the API endpoint.

  1. Start WSO2 API Manager Server which includes the API Publisher Component and create an API.
  2. Go to the implement phace of the API and replace Host and Port of the API endpoint with {urn}