Just get some version and modify it according to your needs. Here is the latest:<br><br><a href="http://fisheye.jboss.org/browse/JBossRules/trunk/drools-core/src/main/java/org/drools/management/KnowledgeSessionMonitoring.java?hb=true">http://fisheye.jboss.org/browse/JBossRules/trunk/drools-core/src/main/java/org/drools/management/KnowledgeSessionMonitoring.java?hb=true</a><br>
<br>It&#39;s really no big deal to write an agenda listener that counts creations, cancellations, firings in a map with the rule name as its key. Less than 100 lines of Java code...<br><br>-W<br><br><br><br>On 21 January 2011 12:57, asutosh_pandya &lt;<a href="mailto:asutosh.pandya@cognizant.com">asutosh.pandya@cognizant.com</a>&gt; wrote:<br>
&gt;<br>&gt; Hello Laun,<br>&gt;<br>&gt; Thanks for the reply.<br>&gt;<br>&gt; Well there is nothing wrong with the listeners. The requirement is such that<br>&gt; we need all the information only after firing the rules. The<br>
&gt; KnowledgeSession itself should provide all the information rather than going<br>&gt; through each and every events and logging the information every time.<br>&gt;<br>&gt; Further I am using Drools 5.1.0.M1 API for the current requirement which has<br>
&gt; only API (jar files). No source code is available for the same. The<br>&gt; implementation class of KnowledgeSessionMonitoringMBean i.e.<br>&gt; KnowledgeSessionMonitoring.java is not available in Drools 5.1.0.M1 API.<br>
&gt;<br>&gt; Can you please guide me how can I create an instance of<br>&gt; KnowledgeSessionMonitoringMBean or any other calls which can provide me the<br>&gt; above information.<br>&gt;<br>&gt; Thanks in advance,<br>&gt; Asutosh<br>
&gt; --<br>&gt; View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Use-of-DroolsManagementAgentMBean-tp2300090p2301291.html">http://drools-java-rules-engine.46999.n3.nabble.com/Use-of-DroolsManagementAgentMBean-tp2300090p2301291.html</a><br>
&gt; Sent from the Drools - User mailing list archive at Nabble.com.<br>&gt; _______________________________________________<br>&gt; rules-users mailing list<br>&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>&gt;<br><br>