This documentation is for WSO2 API Manager 2.1.0 View documentation for the latest release.
Page Comparison - Writing Custom Handlers (v.19 vs v.20) - API Manager 2.1.0 - WSO2 Documentation

All docs This doc

Versions Compared

Key

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

This section introduces handlers and using an example, explains how to write a custom handler:

Table of Contents
maxLevel3
minLevel3

Introducing Handlers

When an API is created, a file with its synapse configuration is added to the API Gateway. You can find it in the <APIM_HOME>/repository/deployment/server/synapse-configs/default/api folder. It has a set of handlers, each of which is executed on the APIs in the same order they appear in the configuration. You find the default handlers in any API's Synapse definition as shown below.

...