I think you need to start the listener service up - which I can't remember how to do off the top of my head (ie if it is listening but really polling for changes).
On Wed, May 26, 2010 at 12:47 AM, Mohamed BEN AYED <[email protected]>wrote: > > Hi, > > I have 2 questions: > 1) I used KnowledgeAgent as following > KnowledgeBase kbase=KnowledgeBaseFactory.newKnowledgeBase(); > KnowledgeAgent agent = > KnowledgeAgentFactory.newKnowledgeAgent("myagent",kbase,aconf); > when I do, StatefulKnowledgeSession session > =kbase.newStatefulKnowledgeSession(); > session.firAllRules(); > nothing is happening! ==> so I should add kbase=agent.getKnowledgeBAse(); > what's the meaning of "kbase" in KnowledgeAgent parameters?? > > 2) I am trying to use KnowledgeBaseEventListener. I add this line, > kbase.addKnwledgeBaseEventListener(new .....) but I didn't have any result > why? > > Regards > -- > View this message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/KnowledgeBaseEvent-on-KnowledgeAgent-tp842269p842269.html > Sent from the Drools - Dev mailing list archive at Nabble.com. > _______________________________________________ > rules-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-dev > -- Michael D Neale home: www.michaelneale.net blog: michaelneale.blogspot.com
_______________________________________________ rules-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-dev
