<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>So I build the KnowledgeBase with a url, and I can change the polling interval from the default 60 with a property. &nbsp;The final piece of this is the local cache directory that covers the situation of not being able to connect to Guvnor. &nbsp;Sorry for my confusion. &nbsp;</div><div><br></div><div>- Mike</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Message: 5<br>Date: Tue, 17 Feb 2009 23:14:45 +0000<br>From: Mark Proctor &lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>><br>Subject: Re: [rules-users] KnowledgeAgent and Guvnor<br>To: Rules Users List &lt;<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>><br>Message-ID: &lt;<a href="mailto:499B44E5.7020509@codehaus.org">499B44E5.7020509@codehaus.org</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>J Michael Dean wrote:<br><blockquote type="cite">RuleAgent could be fed a properties file that included a URL enabling&nbsp;<br></blockquote><blockquote type="cite">connection to Guvnor. &nbsp;I cannot find any examples of using a&nbsp;<br></blockquote><blockquote type="cite">KnowledgeAgent to connect to Guvnor - can someone point me in the&nbsp;<br></blockquote><blockquote type="cite">right direction? &nbsp;Thank you.<br></blockquote>If you build a KnowledgeBase using urls an then pass that KnowledgeBase&nbsp;<br>to the agent the agent will grab the urls and start scanning. If you&nbsp;<br>don't supply, or supply an empty knowledgebase, you use the&nbsp;<br>applyChangeSet(...) method which allows you t specify a Resource that&nbsp;<br>provides the changeset.xml which is where you place your urls.<br><br>The KnowledgeAgentFactory, KnowledgeBuilder and ChangeSet should all&nbsp;<br>provide some information on this.<br><br>Mark</div></body></html>