This documentation is for WSO2 Enterprise Service Bus version 4.7.0 . View documentation for the latest release.

Versions Compared

Key

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

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

...

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

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

Image Removed

...

  1. Click the Main tab in the Management Console.
    Image Modified

...

  1. Under Manage -> Service Bus, click

...

  1. Sequences

...

  1. .

...


  1. Image Modified

...


  1. In the Mediation Sequences dialog, click Add Sequence

...

  1. .
    Image Modified

5. The "Design Sequence" page appears.

Image Removed

6. Specify the sequence name before adding mediators.

  1. In the Design Sequence dialog, enter a unique name for this sequence.
    Image Added
  2. Optionally, add the "On Error" sequence. You can select it from "Configuration Registry" or "Governance Registry."

...

  1. For more information, see in Working with the Registry.

...

  1. Click

...

  1. Add Child

...

  1. to add the first mediator to your sequence tree.

...


  1. For more information on mediators, see Mediators.

Image Removed

...

  1. Click a mediator to edit its

...

  1. properties

...

  1. under the sequence tree

...

titleTip

...

  1. , or if you are familiar with the Synapse configuration language

...

  1. and want to edit the XML directly

...

  1. , click

...

  1. Switch to source view.

    Image Modified

...

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

    Image Added
    For more information, see Adding a Mediator to a Sequence, Editing a Mediator, Adding a Child to Mediator, and Deleting a Mediator.

...

  1. You can add

...

  1. siblings

...

  1. to

...

  • Add Child
  • Add Sibling

Image Removed

...

titleTip

...

  1. all mediators, while you can add a child only to some mediators (called "nodes")

...

  1. .

...

  • Add Child

Image Removed

...

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

...

  1. Image Added
    For more information, see Editing a Mediation Sequence.

Image Removed

12. All added mediators will be displayed in the "Sequence" tree.

Image Removed

13. Add a description of the Sequence clicking on the "Sequence Description" area.

Image Removed

14. Enter the description into the text area.

Image Removed

15. Click "Save" to add a new sequence to the "Mediation Sequences" list.

Image Removed

You also can save a sequence using the "Save as" button.

Image Removed

Then you need to specify the registry where you will save the sequence:

  • Governance Registry
  • Configuration Registry

Read more in Working with the Registry.

...

titleNote

...

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

  2. Click Save to save the sequence as a Defined sequence in the Synapse configuration (default path is /repository/synapse/sequences)

...

16. A new sequence is added to the "Mediation Sequences" list.

Image Removed

...

titleTip

...

  1. , 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.

    Image Added
    For more information, see Working with the Registry.

 

Excerpt
hiddentrue

Instructions on how to add a mediation sequence in the ESB Management Console.