You can define multiple patterns that you use to set up rules for triggering the XMLIN Event. A rule can be an AND or OR statement, or a combination of both. For example:Pattern1 OR (Pattern2 AND Pattern3)
1 In the Message view, select the Message node. The Message properties are displayed in the Properties view.
2 In the Rule field, enter the rule.
Example 8 ...<pizzas><pizza>Calzone</pizza><pizza>Primavera</pizza></pizzas><drinks><drink>Manhattan</drink></drinks>...pizzas AND drinksThe StreamServer scans the input and finds a match in <pizzas>. The StreamServer continues to scan the input and finds a match in <drinks>. The rule is fulfilled, and the Event is triggered. The Event is triggered once in this scenario.pizzas OR drinksThe StreamServer scans the input and finds a match in <pizzas>. The rule is fulfilled, and the Event is triggered. The StreamServer continues to scan the input and finds a match in <drinks>. The rule is fulfilled, and the Event is triggered once more. The Event is triggered twice in this scenario.
OpenText StreamServe 5.6 | Updated: 2013-03-01 |