What are the rules? --- On Thu, 11/12/09, Chetan Mahadev <[email protected]> wrote:
> From: Chetan Mahadev <[email protected]> > Subject: [rules-users] Fusion : Timebased rules fire only for the first time > after the start of the application (tomcat) > To: "Rules Users List" <[email protected]> > Date: Thursday, November 12, 2009, 1:25 AM > 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 > > > -----Inline Attachment Follows----- > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
