<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I created JIRA: <a
href="http://jira.jboss.org/jira/browse/JBRULES-1451">http://jira.jboss.org/jira/browse/JBRULES-1451</a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Len<o:p></o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

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

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Edson Tirelli<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, February 06, 2008
2:05 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Rules
 Users List</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [rules-users] boolean
== String?</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
&nbsp;&nbsp; ouch, nasty!!<br>
<br>
&nbsp;&nbsp; Can you please open a JIRA?<br>
<br>
&nbsp;&nbsp; Thanks,<br>
&nbsp;&nbsp;&nbsp;&nbsp; Edson<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>2008/2/6, <st1:PersonName w:st="on">Carlsen, Len</st1:PersonName>
&lt;<a href="mailto:len.carlsen@ubc.ca">len.carlsen@ubc.ca</a>&gt;:</span></font></span><o:p></o:p></p>

<div link=blue vlink=purple>

<div>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Hi,</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I
have an expression where I am comparing a Boolean to a String which I would
expect to fail but the expression always returns true. Is this expected
behaviour?</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I
modified the Drools HelloWorldExample and changed the status from an int to a
boolean.</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

<p><b><font size=1 color="#960000" face="Courier New"><span style='font-size:
9.0pt;font-family:"Courier New";color:#960000;font-weight:bold'>import</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> org.drools.examples.HelloWorldExample.Message;</span></font><o:p></o:p></p>

<p><b><font size=1 color="#960000" face="Courier New"><span style='font-size:
9.0pt;font-family:"Courier New";color:#960000;font-weight:bold'>rule</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> </span></font><font size=1 color=green
face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:green'>&quot;Hello World&quot;</span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp; </span></font><b><font
size=1 color="#960000" face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:#960000;font-weight:bold'>when</span></font></b><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
m : Message( status == </span></font><font size=1 color=green face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:green'>&quot;hello&quot;</span></font><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'>, message : message )</span></font><o:p></o:p></p>

<p><b><font size=1 color="#960000" face="Courier New"><span style='font-size:
9.0pt;font-family:"Courier New";color:#960000;font-weight:bold'>&nbsp;&nbsp;&nbsp;
then</span></font></b><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println( message ); </span></font><o:p></o:p></p>

<p><b><font size=1 color="#960000" face="Courier New"><span style='font-size:
9.0pt;font-family:"Courier New";color:#960000;font-weight:bold'>end</span></font></b><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

<p><b><font size=1 color="#7f0055" face="Courier New"><span style='font-size:
9.0pt;font-family:"Courier New";color:#7F0055;font-weight:bold'>public</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> </span></font><b><font size=1 color="#7f0055"
face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:#7F0055;font-weight:bold'>static</span></font></b><font size=1
color=black face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:black'> </span></font><b><font size=1 color="#7f0055" face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>class</span></font></b><font size=1 color=black face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:black'> Message {</span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;</span></font><b><font size=1 color="#7f0055"
face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:#7F0055;font-weight:bold'>public</span></font></b><font size=1
color=black face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:black'> </span></font><b><font size=1 color="#7f0055" face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>static</span></font></b><font size=1 color=black face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:black'> </span></font><b><font
size=1 color="#7f0055" face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:#7F0055;font-weight:bold'>final</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> </span></font><b><font size=1 color="#7f0055"
face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:#7F0055;font-weight:bold'>boolean</span></font></b><font size=1
color=black face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:black'> </span></font><i><font size=1 color="#0000c0" face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:#0000C0;font-style:italic'>HELLO</span></font></i><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'>&nbsp;&nbsp; = </span></font><b><font size=1
color="#7f0055" face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:#7F0055;font-weight:bold'>false</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'>;</span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><b><font size=1 color="#7f0055" face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>public</span></font></b><font size=1 color=black face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:black'> </span></font><b><font
size=1 color="#7f0055" face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:#7F0055;font-weight:bold'>static</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> </span></font><b><font size=1 color="#7f0055"
face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:#7F0055;font-weight:bold'>final</span></font></b><font size=1
color=black face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:black'> </span></font><b><font size=1 color="#7f0055" face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>boolean</span></font></b><font size=1 color=black face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:black'> </span></font><i><font
size=1 color="#0000c0" face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:#0000C0;font-style:italic'>GOODBYE</span></font></i><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> = </span></font><b><font size=1 color="#7f0055"
face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:#7F0055;font-weight:bold'>true</span></font></b><font size=1 color=black
face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:black'>;</span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><b><font size=1 color="#7f0055" face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>private</span></font></b><font size=1 color=black face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:black'> String </span></font><font
size=1 color="#0000c0" face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:#0000C0'>message</span></font><font size=1
color=black face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:black'>;</span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><b><font size=1 color="#7f0055" face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>private</span></font></b><font size=1 color=black face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:black'> </span></font><b><font
size=1 color="#7f0055" face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:#7F0055;font-weight:bold'>Boolean</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> </span></font><font size=1 color="#0000c0"
face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:#0000C0'>status</span></font><font size=1 color=black face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:black'>;</span></font><o:p></o:p></p>

<p><font size=1 face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New"'>&nbsp;</span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><b><font size=1 color="#7f0055" face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>public</span></font></b><font size=1 color=black face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:black'> Message() {}</span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><b><font size=1 color="#7f0055" face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>public</span></font></b><font size=1 color=black face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:black'> String
getMessage() {</span></font><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'> <b><font color="#7f0055"><span
style='color:#7F0055;font-weight:bold'>return</span></font></b><font
color=black><span style='color:black'> </span></font><b><font color="#7f0055"><span
style='color:#7F0055;font-weight:bold'>this</span></font></b><font color=black><span
style='color:black'>.</span></font><font color="#0000c0"><span
style='color:#0000C0'>message</span></font><font color=black><span
style='color:black'>;</span></font> <font color=black><span style='color:black'>}</span></font></span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><b><font size=1 color="#7f0055" face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>public</span></font></b><font size=1 color=black face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:black'> </span></font><b><font
size=1 color="#7f0055" face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:#7F0055;font-weight:bold'>void</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> setMessage(</span></font><b><font size=1
color="#7f0055" face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:#7F0055;font-weight:bold'>final</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> String message) {</span></font><font size=1
face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'> <b><font
color="#7f0055"><span style='color:#7F0055;font-weight:bold'>this</span></font></b><font
color=black><span style='color:black'>.</span></font><font color="#0000c0"><span
style='color:#0000C0'>message</span></font><font color=black><span
style='color:black'> = message;</span></font> <font color=black><span
style='color:black'>}</span></font></span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><b><font size=1 color="#7f0055" face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>public</span></font></b><font size=1 color=black face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:black'> </span></font><b><font
size=1 color="#7f0055" face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:#7F0055;font-weight:bold'>boolean</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> getStatus() {</span></font><font size=1
face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'> <b><font
color="#7f0055"><span style='color:#7F0055;font-weight:bold'>return</span></font></b><font
color=black><span style='color:black'> </span></font><b><font color="#7f0055"><span
style='color:#7F0055;font-weight:bold'>this</span></font></b><font color=black><span
style='color:black'>.</span></font><font color="#0000c0"><span
style='color:#0000C0'>status</span></font><font color=black><span
style='color:black'>;</span></font> <font color=black><span style='color:black'>}</span></font></span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><b><font size=1 color="#7f0055" face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>public</span></font></b><font size=1 color=black face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New";color:black'> </span></font><b><font
size=1 color="#7f0055" face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:#7F0055;font-weight:bold'>void</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> setStatus(</span></font><b><font size=1
color="#7f0055" face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:#7F0055;font-weight:bold'>final</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> </span></font><b><font size=1 color="#7f0055"
face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:#7F0055;font-weight:bold'>boolean</span></font></b><font size=1
color=black face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New";
color:black'> status) {</span></font><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'> <b><font color="#7f0055"><span
style='color:#7F0055;font-weight:bold'>this</span></font></b><font color=black><span
style='color:black'>.</span></font><font color="#0000c0"><span
style='color:#0000C0'>status</span></font><font color=black><span
style='color:black'> = status;</span></font> <font color=black><span
style='color:black'>}</span></font></span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>}</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

<p><b><font size=1 color="#7f0055" face="Courier New"><span style='font-size:
9.0pt;font-family:"Courier New";color:#7F0055;font-weight:bold'>final</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> Message message = </span></font><b><font size=1
color="#7f0055" face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:#7F0055;font-weight:bold'>new</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> Message();</span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>message.setMessage( </span></font><font
size=1 color="#2a00ff" face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:#2A00FF'>&quot;Hello World&quot;</span></font><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> );</span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>message.setStatus( Message.</span></font><i><font
size=1 color="#0000c0" face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:#0000C0;font-style:italic'>HELLO</span></font></i><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> );</span></font><o:p></o:p></p>

<p><b><font size=1 color="#7f0055" face="Courier New"><span style='font-size:
9.0pt;font-family:"Courier New";color:#7F0055;font-weight:bold'>&nbsp;</span></font></b><o:p></o:p></p>

<p><b><font size=1 color="#7f0055" face="Courier New"><span style='font-size:
9.0pt;font-family:"Courier New";color:#7F0055;font-weight:bold'>final</span></font></b><font
size=1 color=black face="Courier New"><span style='font-size:9.0pt;font-family:
"Courier New";color:black'> StatefulSession session =
ruleBase.newStatefulSession();</span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>session.insert( message );</span></font><o:p></o:p></p>

<p><font size=1 color=black face="Courier New"><span style='font-size:9.0pt;
font-family:"Courier New";color:black'>session.fireAllRules();</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Thanks
very much,</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Len</span></font><o:p></o:p></p>

</div>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><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><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
&nbsp;&nbsp;Edson Tirelli<br>
&nbsp;&nbsp;JBoss Drools Core Development<br>
&nbsp;&nbsp;Office: +55 11 3529-6000<br>
&nbsp;&nbsp;<st1:City w:st="on"><st1:place w:st="on">Mobile</st1:place></st1:City>:
+55 11 9287-5646<br>
&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>
<o:p></o:p></span></font></p>

</div>

</body>

</html>