What are the rules?
--- On Thu, 11/12/09, Chetan Mahadev <mahadev.chetan(a)gmail.com> wrote:
From: Chetan Mahadev <mahadev.chetan(a)gmail.com>
Subject: [rules-users] Fusion : Timebased rules fire only for the first time after the
start of the application (tomcat)
To: "Rules Users List" <rules-users(a)lists.jboss.org>
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
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users