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

Adding a Mediator to a Sequence

To make the process of message mediation feasible, create a sequence and add mediators to it.

Follow the instructions below to add a new mediator to a sequence in WSO2 ESB.

1. Sign In. Enter your user name and password to log on to the ESB Management Console.

2. Click on "Sequences" in the left "Service Bus" menu to access "Mediation Sequences."

3. Select the tab where your sequence is located:

  • Defined Sequences - Shows sequences saved in Synapse configuration.
  • Dynamic Sequences - Shows sequences saved in Registry.

4. Select the necessary sequence and click on the "Edit" link to open the "Design Sequence" window.

5. In the "Sequence" pane, click on the "Add Child" button.

6. Choose the necessary category and mediator from the drop-down menu.

In the example below, the "In" mediator from the "Filter" category was chosen.

7. Set all the properties of a mediator. The properties window for the selected mediator is displayed under the sequence tree. You can define a mediator's properties using UI or in XML mode. For detailed information about mediator properties, see Mediators.

8. Click "Save" or "Apply" to add a mediator to a sequence.

OR

9. A new mediator appears in the "Sequence" tree.