A sequence is the basis of message mediation. A sequence is a collection of mediators. Sequence editor allows creation of sequences from the UI. Sequences can be created as named sequences and refer later from other parts of ESB configuration. Some configurations expects sequences to be defined in the place they are used. We call this type of sequences inline sequences. Sequence editor is used in both these cases for creating a sequence.
Sequence List
Use the Mediation Sequences page to add new sequences or edit existing sequences. As shown in Figure,1 the sequence management section displays a list of existing sequences.
Figure 1: Mediation sequence management
In the navigator, under Manage/Mediation, click Sequences. The Mediation Sequences page appears.
The above options are turned off by default because they cause a severe performance degradation. Use these options only in a situation where you have to debug a particular problem.
Figure 2: Add sequence design view
Figure 3: Editing a sequence
Figure 4: Editing node specific properties
Click switch to source view to view the XML of the particular sequence. If you're familiar with the Synapse configuration language you can edit the XML directly. After editing you can save the sequences by clicking the save button. If you click on swith to design view source will be saved before going to the graphical view.
Figure 5: Source view of the sequence editor