[JBoss JIRA] Created: (JBESB-3389) CBR: an object path is converted to a real object twice
by Martin Vecera (JIRA)
CBR: an object path is converted to a real object twice
-------------------------------------------------------
Key: JBESB-3389
URL: https://jira.jboss.org/browse/JBESB-3389
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Content Based Routing, Rosetta
Affects Versions: 4.8, 4.7 CP2
Reporter: Martin Vecera
Priority: Critical
1) org.jboss.soa.esb.actions.ContentBasedWiretap.executeRules()
A call is made to ObjectMapper to get real objects from a message based on the predefined object paths.
2) org.jboss.soa.esb.actions.cbr.AbstractPropertyRulesRouter.getMessageObjectsToTests()
Another call is made to ObjectMapper to convert the Object (used as an object path) to the real object.
When the object on the object path is not a String an exception will be thrown, else the routing does not work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months
[JBoss JIRA] Created: (JBESB-3403) ESB CEP support for KnowledgeBase Partitioning
by David Ward (JIRA)
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: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months