[rules-users] what's the new way to set the agent cache directory ?

Wesley Akio Imamura wesley.imamura at gmail.com
Tue Sep 22 11:57:39 EDT 2009


Hi,

I'm trying to set the drools agent cache directory so that guvnor can be
down while the engine is still running.

I tried to set it by using -Ddrools.resource.urlcache=/rules-cache

and

KnowledgeAgentConfiguration kac =
KnowledgeAgentFactory.newKnowledgeAgentConfiguration();
kac.setProperty("localCacheDir", "/rules-cache");
kagent = KnowledgeAgentFactory.newKnowledgeAgent("AcecAgent", kac);


Could not find this on the docs/api anymore. It seems that changed.

What's the new way to set the agent cache directory ? Can someone help ?

Thanks,
Wesley.

-- 
Wesley Akio Imamura
São Paulo - SP - Brazil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090922/6c561904/attachment.html 


More information about the rules-users mailing list