[
https://jira.jboss.org/jira/browse/JBSEAM-3816?page=com.atlassian.jira.pl...
]
Tihomir Surdilovic closed JBSEAM-3816.
--------------------------------------
Resolution: Rejected
you have to pre-construct your packages (either with drools-ant or BRMS/Guvnor) and they
will be picked up according to settings in your .properties file for RuleAgent.
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
Assignee: Tihomir Surdilovic
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