<div><br></div>    Correct is EventProcessingOption.STREAM, not EventProcessingMode.STREAM. Where did you saw this in the docs (link)? <div><br></div><div>    Edson<br><br><div class="gmail_quote">2010/8/17 Nicolás Sanchez <span dir="ltr">&lt;<a href="mailto:sancheznicolas89@gmail.com">sancheznicolas89@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><p>Hi, I am a Newbie with Drools5.1.0 and I was trying to set a KnowledgeBaseConfiguration Option using Drools Fusion.<br>
I tried the code that was in the Documentation part of Drools Fusion:</p>
<p>KnowledgeBaseConfiguration config = KnowledgeBaseFactory.newKnowledgeBaseConfiguration();<br>config.setOption(EventProcessingMode.STREAM);</p>
<p>And the next Error appears, and I don`t understand why: </p>
<p>Bound mismatch: The generic method setOption(T) of type KnowledgeBaseOptionsConfiguration is not applicable for the arguments <br>(RuleBaseConfiguration.EventProcessingMode). The inferred type RuleBaseConfiguration.EventProcessingMode is not a valid substitute <br>

for the bounded parameter &lt;T extends KnowledgeBaseOption&gt;</p>
<p>Regards,</p>
<p>Nicolas</p>
<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>
</div>