[rules-users] KnowledgeAgent to update knowledge base built with Guvnor pkg

Roger Swanson roger.swanson at issinc.com
Wed May 1 12:59:38 EDT 2013


I also had an issue at one point where the agent detected new knowledge but it didn't seem to load within the current knowledge base.  I was able to fix it via the agent config:

            KnowledgeAgentConfiguration agentConfig = KnowledgeAgentFactory.newKnowledgeAgentConfiguration();
            agentConfig.setProperty("drools.agent.newInstance", "false");
            KnowledgeAgent agent = KnowledgeAgentFactory.newKnowledgeAgent("myagent", agentConfig);


-----Original Message-----
From: riri [mailto:irina.adam at gmail.com] 
Sent: Wednesday, May 01, 2013 6:25 AM
To: rules-users at lists.jboss.org
Subject: Re: [rules-users] KnowledgeAgent to update knowledge base built with Guvnor pkg

Nobody has any ideas on how to solve this? I am willing to try anything that might work short of re-creating the knowledge base everytime I start a new session. 

And when using the changeSet() method for the knowledge agent, how would one set the knowledge base properties? Like functioning in STREAM mode and not CLOUD.

Please, anyone, I really need your help.



--
View this message in context: http://drools.46999.n3.nabble.com/KnowledgeAgent-to-update-knowledge-base-built-with-Guvnor-pkg-tp4023592p4023603.html
Sent from the Drools: User forum mailing list archive at Nabble.com.





More information about the rules-users mailing list