[jboss-jira] [JBoss JIRA] Created: (JBRULES-1914) KnowledgeSessionConfiguration argument ignored in implementation of KnowledgeBaseImpl.newStatelessKnowledgeSession(KnowledgeSessionConfiguration conf)

erwin de ley (JIRA) jira-events at lists.jboss.org
Tue Jan 13 10:56:04 EST 2009


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


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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list