Figure 1: Mediation sequence management
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.
Figure 5: Source view of the sequence editor
Core | |
Drop
|
Drops a particular message |
Sequence
|
Defines a reference to an already defined sequence |
Send
|
Sends the message to an endpoint defined inside the endpoint property. If an endpoint is not defined, sends the message to the address specified in the "to" header. |
Log
|
Logs the received messages |
Log level
|
Selects the verbosity of the log messages |
Log separator
|
Log separator is the delimiter in which the logs are separated. |
Property
|
Handles message and transport level properties |
Extension | |
Script
|
Defines a script in a scripting language and diverts control to that particular script |
Class
|
Defines a reference to the Java class which implements the Mediator interface. Control will be passed to this class. |
Spring
|
Defines a reference to a Spring bean which will take control |
Command
|
Holds a reference to a class with only an execute method without having to implement the Mediator interface |
Filter | |
Switch
|
Filters a message like in a switch case statement according to specified conditions |
Filter
|
Filters a message like in an If Else clause |
Out
|
Filters the outgoing messages |
Validate
|
Validates a particular message over schema |
In
|
Filters the incoming messages |
Advanced | |
RMSequence
|
Used with RM to create a message sequence |
DBReport
|
Writes data to a database |
Aggregate
|
Used for batch processing where a collection of messages gets treated as one |
Clone
|
Makes copies of a message |
Throttle
|
Throttle messages |
Callout
|
Used to do a blocking call to a particular service |
Iterate
|
Iterates over a set of message elements |
DBLookup
|
Reads data from a database and gets it into a message |
Cache
|
Caches response messages |
Transform | |
Fault
|
Creates a SOAP fault |
Header
|
Processes message headers |
XSLT
|
Transforms a particular message |
XQuery
|
Transforms a message using XQuery |