This documentation is for WSO2 ESB version 4.5.1. View documentation for the latest release.

Sequence Mediator

The Sequence Mediator refers to an already defined sequence element, which is used to invoke a named sequence of mediators.



Syntax

A sequence ref token refers to a <sequence> element, which is used to invoke a named sequence of mediators.

<sequence key="name"/>

UI Configuration

In the "Sequence Mediator" panel, you can specify the name of the sequence you want to refer to or select it from the registry by clicking the appropriate Registry Browser link. Refer to more information about Registry Browser in Namespace.

To specify the Key Type, select:

  • Static key - In static manner, users can provide a registry key which refers a predefined sequence.
  • Dynamic key - Where users can define an 'XPath' expression to point the exact sequence name, which is present in the message. So, the ESB will look into the system for that particular sequence and do further processing.