[jboss-svn-commits] JBL Code SVN: r35333 - in labs/jbossesb/branches/JBESB_4_9_CP/product: docs/Services_Guide/en-US/extras/rule_service and 1 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Sep 28 09:59:54 EDT 2010
Author: dward
Date: 2010-09-28 09:59:54 -0400 (Tue, 28 Sep 2010)
New Revision: 35333
Modified:
labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Services_Guide/en-US/Rule_Services_Using_Drools.xml
labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Services_Guide/en-US/extras/rule_service/drl3.xmlt
labs/jbossesb/branches/JBESB_4_9_CP/product/services/jbrules/src/main/java/org/jboss/soa/esb/actions/BusinessRulesProcessor.java
Log:
Documentation updates for JBESB-3403 ( https://jira.jboss.org/browse/JBESB-3403 ).
Modified: labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Services_Guide/en-US/Rule_Services_Using_Drools.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Services_Guide/en-US/Rule_Services_Using_Drools.xml 2010-09-28 11:16:56 UTC (rev 35332)
+++ labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Services_Guide/en-US/Rule_Services_Using_Drools.xml 2010-09-28 13:59:54 UTC (rev 35333)
@@ -405,7 +405,9 @@
<para>
Rules are in a drl, execution is stateful, audit logging is enabled,
and the Drools clockType, eventProcessingType and channels are set
- to aid in Complex Event Processing (CEP).
+ to aid in Complex Event Processing (CEP). KnowledgeBase partitioning
+ is not enabled since ruleMultithreadEvaluation if false (also note
+ ruleMaxThreads is 1).
</para>
<para>
@@ -637,6 +639,26 @@
</seglistitem>
<seglistitem>
+ <seg><property>ruleMultithreadEvaluation</property></seg>
+
+ <seg>Optional property to define whether or not to
+ enable KnowledgeBase partitioning. The default is
+ null, which delegates to Drools' default, which is
+ false.</seg>
+
+ </seglistitem>
+ <seglistitem>
+
+ <seg><property>ruleMaxThreads</property></seg>
+
+ <seg>Optional property to define the number of threads
+ to use for KnowledgeBase partitioning. This is only
+ respected if ruleMultithreadEvaluation is true. The
+ default is null, which delegates to Drools' default.</seg>
+
+ </seglistitem>
+ <seglistitem>
+
<seg><property>channels</property></seg>
<seg>Optional property to define any Channels a rule can
Modified: labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Services_Guide/en-US/extras/rule_service/drl3.xmlt
===================================================================
--- labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Services_Guide/en-US/extras/rule_service/drl3.xmlt 2010-09-28 11:16:56 UTC (rev 35332)
+++ labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Services_Guide/en-US/extras/rule_service/drl3.xmlt 2010-09-28 13:59:54 UTC (rev 35333)
@@ -9,6 +9,8 @@
<property name="ruleAuditInterval" value="1000" />
<property name="ruleClockType" value="REALTIME" />
<property name="ruleEventProcessingType" value="STREAM" />
+ <property name="ruleMultithreadEvaluation" value="false" />
+ <property name="ruleMaxThreads" value="1" />
<property name="object-paths">
<object-path esb="body.OrderStatus"
entry-point="OrderStatusStream" />
Modified: labs/jbossesb/branches/JBESB_4_9_CP/product/services/jbrules/src/main/java/org/jboss/soa/esb/actions/BusinessRulesProcessor.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_9_CP/product/services/jbrules/src/main/java/org/jboss/soa/esb/actions/BusinessRulesProcessor.java 2010-09-28 11:16:56 UTC (rev 35332)
+++ labs/jbossesb/branches/JBESB_4_9_CP/product/services/jbrules/src/main/java/org/jboss/soa/esb/actions/BusinessRulesProcessor.java 2010-09-28 13:59:54 UTC (rev 35333)
@@ -52,6 +52,8 @@
* <property name="ruleAuditInterval" value="1000" />
* <property name="ruleClockType" value="REALTIME" />
* <property name="ruleEventProcessingType" value="STREAM" />
+ * <property name="ruleMultithreadEvaluation" value="false" />
+ * <property name="ruleMaxThreads" value="1" />
* <property name="stateful" value="true" />
* <property name="object-paths">
* <object-path esb="body.TheOrderHeader" />
@@ -81,6 +83,8 @@
* <li> <i>ruleAuditInterval</i> Optional property that defines the interval (in milliseconds) for a ruleAuditType of THREADED_FILE (1000 is the default).
* <li> <i>ruleclockType</i> Optional property that defines the type of clock used (REALTIME, PSEUDO). Default is up to drools.
* <li> <i>ruleEventProcessingType</i> Optional property that defines the type of event processing used (STREAM, CLOUD). Default is up to drools.
+ * <li> <i>ruleMultithreadEvaluation</i> Optional property that defines whether or not to enable KnowledgeBase partitioning. The default is null, which delegates to Drools' default, which is false.
+ * <li> <i>ruleMaxThreads</i> Optional property that defines the number of threads to use for KnowledgeBase partitioning. This is only respected if ruleMultithreadEvaluation is true. The default is null, which delegates to Drools' default..
* <li> <i>stateful</i> Optional property which tells the RuleService to use a stateful session where facts will be remembered between invocations.
* <li> <i>object-paths</i> Optional property to pass Message objects into Rule Services WorkingMemory. If an entry-point is specified, that will be placed in the StatefulSession's WorkingMemoryEntryPoint with the same name.
* <li> <i>channels</i> A set of send-to properties each containing the logical name
More information about the jboss-svn-commits
mailing list