<br>    Certainly, that is one of the goals of the Drools Boot Camps. I will be there in Dallas for the boot camp and for the ORF.<br><br>    More info:<br><br><a href="http://www.octoberrulesfest.org/">http://www.octoberrulesfest.org/</a><br>
<a href="http://blog.athico.com/2009/09/iii-drools-boot-camp-at-october-rules.html">http://blog.athico.com/2009/09/iii-drools-boot-camp-at-october-rules.html</a><br><a href="http://blog.athico.com/2009/09/drools-boot-camp-dallas-october-25th.html">http://blog.athico.com/2009/09/drools-boot-camp-dallas-october-25th.html</a><br>
<br>    Just a reminder, the boot camp is completely free for ORF attendants, so I strongly advise everyone to join both the boot camp and this awesome conference! Check the agenda!<br><br>    Cheers,<br>      Edson<br><br>
<div class="gmail_quote">2009/9/30 Chris Richmond <span dir="ltr">&lt;<a href="mailto:crichmond@referentia.com">crichmond@referentia.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">













<div link="blue" vlink="blue" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Ed,</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><br>
Thanks a lot.  I am thinking about comding to Drools boot camp in Dallas? In late October. 
If not that one than the next one.  Will you be there?  I feel it would be
beneficial to have some time to get over the hump with using Drools and Fusion
to it’s full potential.  That way I can give you guys my use cases and discuss
a proper Drools strategy.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thank,</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><br>
Chris</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="3" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>
[mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>] <b><span style="font-weight: bold;">On
Behalf Of </span></b>Edson Tirelli<br>
<b><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 30,
2009 4:45 AM<br>
<b><span style="font-weight: bold;">To:</span></b> Rules
 Users List<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [rules-users]
retrieving streams/entry points from java api</span></font></p>

</div><div><div></div><div class="h5">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
   Chris,<br>
<br>
   That is indeed missing in the public API. I am adding it as we
speak, thanks for bringing that up:<br>
<br>
<a href="https://jira.jboss.org/jira/browse/JBRULES-2285" target="_blank">https://jira.jboss.org/jira/browse/JBRULES-2285</a><br>
<br>
   Meanwhile, until we release the new version, the workaround is to
downcast the interface:</span></font></p>

<p><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">                             
</span></span></font><b><font color="#7f0055" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-weight: bold;">for</span></span></font></b><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">(WorkingMemoryEntryPoint entry : </span></span></font><font color="#0000c0" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">session</span></span></font><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">.getWorkingMemoryEntryPoints()){</span></span></font></p>


<p><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">                                   
</span></span></font><font color="black" face="Courier New" size="2"><span><span style="background: silver none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">System</span></span></font><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">.</span></span></font><i><font color="#0000c0" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-style: italic;">err</span></span></font></i><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">.println(</span></span></font><font color="#2a00ff" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">&quot;entry point
stream: &quot;</span></span></font><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"> + <br>

<br>
</span></span></font></p>



<p><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">                                            
((InternalWorkingMemoryEntryPoint)entry).getEntryPoint().getEntryPointId());</span></span></font></p>

<p><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">                             
}</span></font></p>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Edson<br>
<br>
<br>
<br>
</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">2009/9/29 Chris Richmond &lt;<a href="mailto:crichmond@referentia.com" target="_blank">crichmond@referentia.com</a>&gt;</span></font></p>

<div link="blue" vlink="purple">

<div>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hello,</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I
am trying to determine, iterate the working memory streams within my rule by
doing the following:</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">                             
</span></span></font><b><font color="#7f0055" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-weight: bold;">for</span></span></font></b><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">(WorkingMemoryEntryPoint entry : </span></span></font><font color="#0000c0" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">session</span></span></font><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">.getWorkingMemoryEntryPoints()){</span></span></font></p>


<p><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">                                   
</span></span></font><font color="black" face="Courier New" size="2"><span><span style="background: silver none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">System</span></span></font><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">.</span></span></font><i><font color="#0000c0" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-style: italic;">err</span></span></font></i><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">.println(</span></span></font><font color="#2a00ff" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">&quot;entry point
stream: &quot;</span></span></font><font color="black" face="Courier New" size="2"><span><span style="background: yellow none repeat scroll 0% 0%; font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"> + entry.toString());</span></span></font></p>


<p><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">                             
}</span></font></p>

<p><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;"> </span></font></p>

<p><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">But I can find no method/way to finid
the actual text name of the entry point(what is written in the rule as from
entry-point “xxxx”).</span></font></p>

<p><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;"> </span></font></p>

<p><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;"> </span></font></p>

<p><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;"> </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Is
there a way to do this?  To list the readable names of the entry points
from your session?  I would like to list those entry points in a drop down
as application profiles, so if they have one selected, one entry point of rules
will be inserted to and so on..</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks,</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p><font color="#888888" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(136, 136, 136);">Chris</span></font><font color="#888888"><span style="color: rgb(136, 136, 136);"></span></font></p>


</div>

</div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a></span></font></p>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br clear="all">
<br>
-- <br>
 Edson Tirelli<br>
 JBoss Drools Core Development<br>
 JBoss by Red Hat @ <a href="http://www.jboss.com" target="_blank">www.jboss.com</a></span></font></p>

</div></div></div>

</div>


<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>