Hi, I'm using a KnowledgeAgent to create a KnowledgeBase. However, I need to turn off Identities. In previous projects (not using knowledgeAgent) I've done:
RuleBaseConfiguration conf = new RuleBaseConfiguration(); conf.setRemoveIdentities( true ); KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase(conf); I'm sure there is a very similar approach with the KAgent, but I can't seem work out what it is. I thought maybe something like this: KnowledgeAgentConfiguration conf = KnowledgeAgentFactory.newKnowledgeAgentConfiguration(); conf.setProperty("drools.removeIdentities", "true"); kagent = KnowledgeAgentFactory.newKnowledgeAgent("MyAgent", conf); But that doesn't seem to work. Any help with this would be greatly appreciated. Regards, Rich. -- View this message in context: http://drools.46999.n3.nabble.com/RemoveIdentities-with-KnowledgeAgent-tp4022444.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users