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:[email protected]]
Sent: Wednesday, May 01, 2013 6:25 AM
To: [email protected]
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.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users