Syntax for EnrichMediator
This mediator will first get an OMElement from the source. Then put it to the current message
according to the target element.
Both target and source can specify a type. These are the types supported
custom : xpath expression should be provided to get the xml
envelope : the soap envelope
body : first child of the soap body
property : synapse property
When specifying the source one can clone the xml by setting the clone to true. The default
value for clone is false.
When specifying the target one can replace the existing xml. replace is only valid for custom
and body types. By default replace is true.
Invokes the mediator passing the current message for mediation. Each
mediator performs its mediation action, and returns true if mediation
should continue, or false if further mediation should be aborted.