This documentation is for WSO2 Enterprise Service Bus version 5.0.0. For the latest ESB, view the latest WSO2 Enterprise Integrator documentation.

All docs This doc
Skip to end of metadata
Go to start of metadata

Sequences can be created as named sequences and referred later from other parts of the ESB configuration. Some configurations expect sequences to be defined in the place they are used. We call this type of sequences "in-line sequences."

A sequence editor is used in both cases for creating a sequence. Adding a sequence in the WSO2 ESB Management Console is equivalent to directly specifying the mediators of the sequence within the <definitions> element.

Follow the instructions below to add a new sequence in the ESB Management Console.

  1. Click the Main tab in the Management Console.
  2. Under Manage -> Service Bus, click Sequences.

  3. In the Mediation Sequences dialog, click Add Sequence.
  4. In the Design Sequence dialog, enter a unique name for this sequence.
  5. Optionally, add the "On Error" sequence. You can select it from "Configuration Registry" or "Governance Registry."
    For more information, see in Working with the Registry.
  6. Click Add Child to add the first mediator to your sequence tree.
    For more information on mediators, see Mediators.
  7. Click a mediator to edit its properties under the sequence tree, or if you are familiar with the Synapse configuration language and want to edit the XML directly, click Switch to source view.

  8. Continue adding mediators as children at the root level or as children/siblings of an existing mediator. 

    For more information, see Adding a Mediator to a Sequence, Editing a Mediator, Adding a Child Mediator, and Deleting a Mediator. You can add siblings to all mediators, while you can add a child only to some mediators (called "nodes").

  9. Place the added mediators in the necessary order. To move a mediator up or down, select it and then click on the arrow icon displayed in the node menu.

    For more information, see Editing a Mediation Sequence.

  10. Optionally, click Sequence Description and add a description of this sequence.

  11. Click Save to save the sequence as a Defined sequence in the Synapse configuration (default path is /repository/synapse/sequences), or click Save As to save the sequence as a Dynamic sequence in the registry. The sequence will appear on the appropriate tab in the Mediation Sequences dialog.

    For more information, see Working with the Registry.


  • No labels