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">
    
    One of the following is also required:
    • a DRL file:
      <property name="ruleSet" value="drl/OrderDiscount.drl" />
      
    • a DSL or DSLR ( Domain Specific Language ) file:
      <property name="ruleSet" value="dsl/approval.dslr" />
      <property name="ruleLanguage" value="dsl/acme.dsl" />
      
    • a decisionTable on the class-path:
      <property name="decisionTable" value="PolicyPricing.xls" />
      
    • 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" />
      
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.