[rules-users] Can we return values from rules to java ?

Wolfgang Laun wolfgang.laun at gmail.com
Wed Dec 29 07:05:30 EST 2010


The best way to see what goes on w.r.t. matches (the correct term would be
"activation") and firings is to install an implementation of
org.drools.event.rule.AgendaEventListener as a listener using method
addEventListener() of StatefulKnowledgeSession.

-W

org.drools.event.rule
Interface AgendaEventListener


2010/12/29 Shobhit1 T <shobhit1.t at tcs.com>

> Hi,
>
> I want to know which of the fired rules was matched. Is there a way to find
> that out or return a value from drl to java file that can indicate which
> rule was matched?
> Thanks
>
> Shobhit
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101229/b8a13540/attachment.html 


More information about the rules-users mailing list