]
Mark Proctor closed JBRULES-1914.
---------------------------------
Fix Version/s: 5.0.0.M5
Resolution: Done
KnowledgeSessionConfiguration argument ignored in implementation of
KnowledgeBaseImpl.newStatelessKnowledgeSession(KnowledgeSessionConfiguration conf)
------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-1914
URL:
https://jira.jboss.org/jira/browse/JBRULES-1914
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-api
Affects Versions: 5.0.0.M4
Environment: not relevant
Reporter: erwin de ley
Assignee: Mark Proctor
Fix For: 5.0.0.M5
In
org.drools.impl.KnowledgeBaseImpl.newStatelessKnowledgeSession(KnowledgeSessionConfiguration
conf) (line 142), the conf argument is ignored in the construction of a
StatelessKnowledgeSessionImpl.
This stateless session implementation then creates a default SessionConfiguration
instance in its method newWorkingMemory() (line 70), to construct a ReteooWorkingMemory.
So it is currently not possible to apply session configuration to a stateles session via
the drools api.
(for statefull sessions, it is taken into account as expected)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: