<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Brian,<br>
<br>
I'm guessing that you mean the RuleAgent Class. The Javadoc on this
class gives more info.<br>
<br>
Code sample (assuming that you have the BRMS setup as per the doc).
You'll need to change to whatever settings are appropriate for your
BRMS.<br>
<br>
Properties prop = new Properties(); <br>
prop.setProperty("url",uri);<br>
prop.setProperty("newInstance", "true");<br>
prop.setProperty("localCacheDir", ".");<br>
prop.setProperty("poll", "300"); // poll every 300 seconds
for hot deployment.<br>
<br>
//Get a new RuleBase using these properties<br>
RuleAgent agent = RuleAgent.newRuleAgent(prop);<br>
RuleBase rb = agent.getRuleBase(); <br>
<br>
Then use the RuleBase as normal<br>
<br>
Paul<br>
<br>
Brian Trezise wrote:
<blockquote
cite="mid:000001c89699$752daef0$5f890cd0$@Trezise@IntelliData.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Arial Narrow";
        panose-1:2 11 6 6 2 2 2 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal">In the What’s New? Section of the Drools 4.0
documentation
there is a reference in 1.1.2 to a “Rules Engine Agent for hot
deployment
and BRMS integration”. This would be ideal for the application I am
currently developing. However, this is the only mention of this agent
anywhere in the documentation. Does anybody know anything about this,
how
to use it, any documentation about it?<br>
<br>
Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style=""><b><span
style="font-size: 10pt; font-family: "Arial Narrow","sans-serif"; color: gray;">___________________________________________________<br>
Brian Trezise<br>
Staff Software Engineer<br>
IntelliData, Inc<br>
</span></b><span
style="font-size: 10pt; font-family: "Arial Narrow","sans-serif"; color: gray;">3173
s. uravan way<br>
aurora, colorado 80013<br>
T: 720.524.4864<br>
<a class="moz-txt-link-abbreviated" href="mailto:brian.trezise@intellidata.net">brian.trezise@intellidata.net</a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>