This documentation is for WSO2 Enterprise Integrator version 6.1.1 . View documentation for the latest release.

All docs This doc

Versions Compared

Key

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

...

Table of Contents
maxLevel3
minLevel3
locationtop
styleborder:1locationtop
typeflat
separatorpipe

...

Syntax

...

The parameters available for configuring the Smooks mediator are as follows:

Parameter NameDescription
Config-KeyThe key to access the Smooks configuration. The Smooks configuration should be saved in the Registry as a local entry before it can be used here. Click either Configuration Registry or Governance Registry to select the Smooks configuration from the resource tree.
InputYou can select either XML or Text as the input.
ExpressionThis parameter is used to enter an XPath expression to select the exact message block to which the transformation should be applied. If no expression is entered, the transformation would apply to the entire message body by default.
Output

The format of the output. The output type can be XML, Text or Java, and the output can be one of the following.

  • Property: If this is selected, the output defined as a property will be saved in the message context for future use.
  • Expression: If this is selected, the output is defined as an expression and the following additional actions can be performed.
      • Add:The selected node will be added as a child to the message.
      • Replace: Selected node will be replaced in the message.
      • Sibling: Selected node will be added as a sibling.

Examples

Example 1: Performance tuning

...