Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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 "Main" in the left menu to access the "Manage" menu.

Image Removed
3. In the "Manage" menu, click  "Sequences" under "Service Bus."

Image Removed

...

Info

When adding mediators to a sequence, if you get the error "Error in loading the mediator design view", your session has expired and you must log in again. To prevent losing any work if your session times out, be sure to save your sequence periodically.

  1. On the Main tab in the ESB Management Console, navigate to Manage -> Service Bus and click Sequences. Image Added
  2. Select the tab where your sequence is located:
    • Defined Sequences - Shows sequences saved in the Synapse configuration.
    • Dynamic Sequences - Shows sequences saved in the

...

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

Image Removed

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

Image Removed

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

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

Image Removed

  1. Click Edit for the sequence where you're adding the mediator. For example, the following illustration shows how to edit the test sequence.
    Image Added
  2. In the sequence tree, do one of the following:
    • To add the mediator at the root level, click Add Child next to Root.
    • To add the mediator under or after an existing node in the tree, click that node, and click Add Child or Add Sibling.
  3. Select the type of mediator you want to add. For example, to create an In mediator, click Filter -> In. Image Added
  4. In the configuration pane that appears below the sequence tree, set the properties for the mediator, and then click Update. You can define a mediator's properties using

...

  1. the controls in the user interface (design view) or by configuring the XML (source view). For detailed information about mediator properties, see Mediators

...

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

Image Removed

OR

Image Removed

...

  1. and click the name of the mediator you are adding.

    The new mediator appears in the

...

  1. sequence tree.

...

  1. Image Modified

...

hiddentrue
  1. Save the sequence.