[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3816) rules-agent should also work with dsl-based rules

Joerg Viola (JIRA) jira-events at lists.jboss.org
Mon Dec 8 04:33:36 EST 2008


rules-agent should also work with dsl-based rules
-------------------------------------------------

                 Key: JBSEAM-3816
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3816
             Project: Seam
          Issue Type: Feature Request
          Components: Drools
    Affects Versions: 2.0.2.GA
            Reporter: Joerg Viola


Usings the components.xml below, one should be able to dynamically deploy dsl-based rules.
The DSL does not need to be dynamically changed, it may be loaded from the classpath.

	<drools:rule-base name="billingRules" dsl-file="/META-INF/billing.dsl">
		<drools:rule-files>
			<value>/META-INF/billing.dslr</value>
		</drools:rule-files>
	</drools:rule-base>

	<drools:rule-agent startup="true" auto-create="true" name="billingRulebase"
				configurationFile="/billing.properties" />

	<drools:managed-working-memory 
		name="billingWorkingMemory"
		auto-create="true"
		scope="event"
		rule-base="#{billingRules}">
	</drools:managed-working-memory>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list