Hi

I am trying to correlate two or more events when a condition gets satisfied.

The rule is working fine only when i start my tomcat, and it fires only for the first match of the events.

But subsequent events fails to correalte ( or rule doesnt fire). Am not sure wats the issue.

Currently I am using the following config when i build my KnowledgeBase:

knowledgeBaseConfig = KnowledgeBaseFactory.newKnowledgeBaseConfiguration();
        knowledgeBaseConfig.setOption( EventProcessingOption.STREAM );
        kBase = KnowledgeBaseFactory.newKnowledgeBase( knowledgeBaseConfig );
       
        //kBase = newKbase();
        kBase.addKnowledgePackages(knowledgeBuilder.getKnowledgePackages());
       
       
        KnowledgeSessionConfiguration knowledgeSessionConfig =  KnowledgeBaseFactory.newKnowledgeSessionConfiguration();
        ((SessionConfiguration) knowledgeSessionConfig).setClockType( ClockType.REALTIME_CLOCK );


Can anybody help here??

Regds
Chetan