Hi<br><br>I am trying to correlate two or more events when a condition gets satisfied.<br><br>The rule is working fine only when i start my tomcat, and it fires only for the first match of the events.<br><br>But subsequent events fails to correalte ( or rule doesnt fire). Am not sure wats the issue.<br>
<br>Currently I am using the following config when i build my KnowledgeBase:<br><br>knowledgeBaseConfig = KnowledgeBaseFactory.newKnowledgeBaseConfiguration();<br> knowledgeBaseConfig.setOption( EventProcessingOption.STREAM );<br>
kBase = KnowledgeBaseFactory.newKnowledgeBase( knowledgeBaseConfig );<br> <br> //kBase = newKbase();<br> kBase.addKnowledgePackages(knowledgeBuilder.getKnowledgePackages());<br> <br> <br>
KnowledgeSessionConfiguration knowledgeSessionConfig = KnowledgeBaseFactory.newKnowledgeSessionConfiguration();<br> ((SessionConfiguration) knowledgeSessionConfig).setClockType( ClockType.REALTIME_CLOCK );<br>
<br><br>Can anybody help here??<br><br>Regds<br>Chetan<br>