Hi, I have some rules that require stateless sequential execution.  I initially created a knowledge base manually in code and using the following approach, the rules run sequentially:<br><br>

<code>
KnowledgeBaseConfiguration config = KnowledgeBaseFactory.newKnowledgeBaseConfiguration();<br>
config.setOption(SequentialOption.YES);<br>
kbase = KnowledgeBaseFactory.newKnowledgeBase(config);<br>
</code>
<br>
I then converted my manual knowledge base generation into a Spring bean and now I can't seem to set the knowledge base as sequential.  The rules run as rete.<br><br>
<code>
&lt;!-- Bean for Drools rules engine instance (aka KnowledgeBase) -- &gt;<br>
        &lt;drools:kbase id="rules-engine"&gt;<br>
                &lt;drools:resources&gt;<br>
                        &lt;drools:resource ref="serialisation-rules-resource-1"/&gt;<br>
                &lt;/drools:resources&gt;<br>
                &lt;drools:configuration&gt;<br>
                        &lt;drools:mbeans enabled="true" /&gt;<br>
                        &lt;drools:event-processing-mode mode="STREAM" /&gt;<br>
                &lt;/drools:configuration&gt;<br>
        &lt;/drools:kbase&gt;<br>
</code>
<br>

Googling for clues, I also tried setting <code>drools.sequential</code> to true in <code>rulebase.conf</code>.  I placed this file in the classpath but again, the rules run as rete rather than sequential.
<br>
How can I get the rules to run sequentially when the rule base is created via Spring?  I scanned down the drools spring XSD and couldn't see any config param that could be added within the <code>drools:configuration</code> section either.
<br><br>
Cheers.
<br><hr align="left" width="300">
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Problem-setting-Sequential-for-kbase-Drools-5-1-1-tp1786832p1786832.html">Problem setting Sequential for kbase Drools 5.1.1</a><br>
Sent from the <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Dev-f62260.html">Drools - Dev mailing list archive</a> at Nabble.com.<br>