Message Validator mediation primitive properties
You can specify values for mediation primitive properties either by using the property fields in the IBM® Integration Designer user interface or by using an XML format. The property field names displayed in IBM Integration Designer are generally different from the property names used when building a mediation flow using XML code. In the following information, icons are used to identify each property name used in IBM Integration Designer and the corresponding XML name. (Where applicable, XML names that are required, but not shown in IBM Integration Designer, are also described.)
Enabled enabled
Defines whether runtime validation is performed. If the Enabled property is true, the Message Validator mediation primitive performs runtime validation. The validation includes all message fields and not just those that you have overlaid.
Field detail | Value and notes |
---|---|
Required | Yes |
Valid values | Boolean Note:
|
Default | true |
Root root
An XPath 1.0 expression representing the validation scope.
Field detail | Value and notes |
---|---|
Required | Yes |
Valid values | XPath Note:
You can specify:
Alternatively, you can specify your own XPath expression, in which case only the part of the SMO you specified is validated. |
Default | /body |
Considerations
- The Enable and Root properties are both promotable properties of the Message Validator mediation primitive and can be set at run time.
Sample XML code
<node name="MessageValidator1" type="MessageValidator">
<inputTerminal/>
<outputTerminal>
<wire targetNode="FlowOrder1"/>
</outputTerminal>
<failTerminal/>
</node>