did you call the fire all rules method?<br><br><div class="gmail_quote">On Thu, Oct 13, 2011 at 7:23 PM, slyfox <span dir="ltr">&lt;<a href="mailto:bobby.richards@gmail.com">bobby.richards@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">It seems like I have fusion working correctly, yet the rules are not firing.<br>
<br>
I have a quote object<br>
<br>
class Quote {<br>
    private String symbol;<br>
    private double bid;<br>
    private double ask;<br>
<br>
   //eclipse generated getters and setter<br>
}<br>
<br>
in my drl I have the following:<br>
import path.to.quote;<br>
<br>
declare entry-point &quot;Incoming Quotes&quot;<br>
        @doc (&quot;incoming quotes&quot;)<br>
end<br>
<br>
declare Quote<br>
        @role (event)<br>
        //@expires(2s)<br>
end<br>
<br>
rule &quot;show something&quot;<br>
        when<br>
                FXQuote(symbol == &quot;EUR/USD&quot;, s:symbol) from entry-point &quot;Incoming Quotes&quot;<br>
        then<br>
                System.out.println(&quot;euro quote&quot;);<br>
end<br>
<br>
in my code I am inserting manually:<br>
quoteStream = ksession.getWorkingMemoryEntryPoint(&quot;Incoming Quotes&quot;);<br>
...<br>
quoteStream.insert(quote);<br>
<br>
I have verified I am getting quote objects with symbol == &quot;EUR/USD&quot; yet the<br>
rule is not firing<br>
<br>
<br>
I only say that it *appears* that I have the stream set up properly because<br>
everything compiles and runs and in my log file I see the incoming quotes:<br>
<br>
&lt;org.drools.audit.event.ObjectLogEvent&gt;<br>
  &lt;type&gt;1&lt;/type&gt;<br>
  &lt;factId&gt;6&lt;/factId&gt;<br>
  &lt;objectToString&gt;com.trendfx.fxlib.FXQuote@103ec0d&lt;/objectToString&gt;<br>
&lt;/org.drools.audit.event.ObjectLogEvent&gt;<br>
&lt;org.drools.audit.event.ObjectLogEvent&gt;<br>
  &lt;type&gt;3&lt;/type&gt;<br>
  &lt;factId&gt;2&lt;/factId&gt;<br>
  &lt;objectToString&gt;com.trendfx.fxlib.FXQuote@145f918&lt;/objectToString&gt;<br>
&lt;/org.drools.audit.event.ObjectLogEvent&gt;<br>
&lt;org.drools.audit.event.ObjectLogEvent&gt;<br>
  &lt;type&gt;3&lt;/type&gt;<br>
  &lt;factId&gt;3&lt;/factId&gt;<br>
  &lt;objectToString&gt;com.trendfx.fxlib.FXQuote@184843c&lt;/objectToString&gt;<br>
&lt;/org.drools.audit.event.ObjectLogEvent&gt;<br>
&lt;org.drools.audit.event.ObjectLogEvent&gt;<br>
  &lt;type&gt;3&lt;/type&gt;<br>
  &lt;factId&gt;5&lt;/factId&gt;<br>
  &lt;objectToString&gt;com.trendfx.fxlib.FXQuote@1912b66&lt;/objectToString&gt;<br>
&lt;/org.drools.audit.event.ObjectLogEvent&gt;<br>
<br>
etc..<br>
<br>
simple rule but no output, tried debugging but since I can only add<br>
breakpoints to RHS this doesnt really help me<br>
<br>
Thanks,<br>
Bobby<br>
<font color="#888888"><br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Fusion-appears-to-be-working-properly-but-tp3420043p3420043.html" target="_blank">http://drools.46999.n3.nabble.com/Fusion-appears-to-be-working-properly-but-tp3420043p3420043.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<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>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br> - CTO @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a>  <br> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><div>
- Co-Founder @ <a href="http://www.jugargentina.org" target="_blank">http://www.jugargentina.org</a><br> - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -</div>
<br>