Questo contenuto non è disponibile nella lingua selezionata.
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
DRLfile:<property name="ruleSet" value="drl/OrderDiscount.drl" />
<property name="ruleSet" value="drl/OrderDiscount.drl" />Copy to Clipboard Copied! Toggle word wrap Toggle overflow - a
DSLorDSLR( 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
decisionTableon 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 agenthow 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