此内容没有您所选择的语言版本。
16.9. Rule Set Requirements
- There are three requirements when creating rule sets on the JBoss Enterprise SOA Platform.The name and action class as shown:
<action class="org.jboss.soa.esb.actions.BusinessRulesProcessor" name="OrderDiscountRuleService">
<action class="org.jboss.soa.esb.actions.BusinessRulesProcessor" name="OrderDiscountRuleService">
Copy to Clipboard Copied! Toggle word wrap Toggle overflow One of the following is also required:- a
DRL
file:<property name="ruleSet" value="drl/OrderDiscount.drl" />
<property name="ruleSet" value="drl/OrderDiscount.drl" />
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - a
DSL
orDSLR
( Domain Specific Language ) file:<property name="ruleSet" value="dsl/approval.dslr" /> <property name="ruleLanguage" value="dsl/acme.dsl" />
<property name="ruleSet" value="dsl/approval.dslr" /> <property name="ruleLanguage" value="dsl/acme.dsl" />
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - a
decisionTable
on the class-path:<property name="decisionTable" value="PolicyPricing.xls" />
<property name="decisionTable" value="PolicyPricing.xls" />
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - a properties file on the class-path. This tells the
rule agent
how to find the rules package. You enable it by specifying either an URL or the path to a local file:<property name="ruleAgentProperties" value="brmsdeployedrules.properties" />
<property name="ruleAgentProperties" value="brmsdeployedrules.properties" />
Copy to Clipboard Copied! Toggle word wrap Toggle overflow