...
Code Block | ||||
---|---|---|---|---|
| ||||
<payloadfactory> <format ../> <args> <arg (value="string" | expression=" {xpath} ")/>* </args> </payloadfactory> |
...
UI Configuration
When adding a mediator to a sequence, click Transform -> PayloadFactory.
PayloadFactory Mediator Field Descriptions
...
- Payload Format
Define inline - Define the format of the payload in the text field that appears. To add content to the payload, enter variables for each value you want to add using the format $n (starting with 1 and incrementing with each additional variable, i.e., $1, $2, etc.). You will then create arguments in the same order as the variables to specify each variable's actual value.Pick from Registry - Select a format definition that was stored in the Configuration or Governance registry (see Working with the Registry). - Arguments - For each variable in the format definition, click Add Argument and add an argument that defines the actual value.
...