]
David Ward closed JBESB-3403.
-----------------------------
Resolution: Done
Documentation updates Committed revision 35333.
ESB CEP support for KnowledgeBase Partitioning
----------------------------------------------
Key: JBESB-3403
URL:
https://jira.jboss.org/browse/JBESB-3403
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Configuration, Content Based Routing
Affects Versions: 4.9
Reporter: David Ward
Assignee: David Ward
Fix For: 4.9 CP1
In some cases, KnowledgeBase partitioning can improve the overall performance of rule
evaluation.
To support this feature, two new configuration options would be added to
BusinessRulesProcessor:
1. <property name="ruleMultiThreadEvaluation" value="true"/>
In code, this is simply:
KnowledgeBaseConfiguration config =
KnowledgeBaseFactory.newKnowledgeBaseConfiguration();
config.setOption(MultithreadEvaluationOption.YES);
2. <property name="ruleMaxThreads" value="5"/>
In code, this is simply:
KnowledgeBaseConfiguration config =
KnowledgeBaseFactory.newKnowledgeBaseConfiguration();
config.setOption( MaxThreadsOption.get(5) );
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: