When you want to work with mediation sequences, you can use the ESB EI tooling plug-in to create a new sequence as well as to import an existing sequence, or you can add, edit, and delete sequences via the Management Console.
For information on working with local entries via the management console, see Working with Sequences via the Management Console.
- Create a dynamic sequence by referring to an entry in the registry, in which case the sequence will change as the registry entry changes.
- Activate statistics collection by setting the statistics attribute to enable. In this mode the sequence will keep track of the number of messages processed and their processing times. For more information, see Monitoring WSO2 ESB EI Using WSO2 Analytics.
- Activate trace collection by setting the trace attribute to enable. If tracing is enabled on a sequence, all messages being processed through the sequence will write tracing information through each mediation step.
- Use the onError attribute to define a custom error handler sequence. If an error occurs while executing the sequence, this error handler will be called. If you do not specify an error handler, the fault sequence will be used, as described in the next section.
General information about Mediation Sequences in WSO2 ESBEI.