Versions Compared

Key

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

The Rule Mediator integrates the WSO2 Rules component to the the ESB profile in order to define dynamic integration decisions in terms of rules.

...

Parameter NameDescription
Rule Script As

This parameter is used to specify how you want to enter the rule script. Possible options are as follows.

  • In-Lined: If this is selected, the rule script can be added within the mediator configuration.
  • Key: If this is selected, the rule script can be saved in the Registry and accessed via a key.
  • URL: If this is selected, you can refer to a rule script via a URL.
Info

If the rule set is non-XML, you may need to wrap it with a CDATA section inside a XML tag as shown in the example below.

Code Block
XML
XML
<X><![CDATA[ native code]]></X>
Info
titleNote

The key or inline Rule script must be defined. Otherwise, the Rule Mediator configuration will be invalid.

Rule TypeThis parameter is used to specify whether the rule type is Regular or Decision Table.

...