[rules-users] alerts in drools

Swindells, Thomas TSwindells at nds.com
Wed Jun 9 04:11:06 EDT 2010


Or just add a global "AlertNotifier alertNotifier" and in your rules call alertNotifier.raiseAlert(...).
Of course you will have to actually write AlertNotifier yourself to do whatever you want it to do but that is trivial as it's just a POJO.

Thomas

From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Esteban Aliverti
Sent: 09 June 2010 02:24
To: Rules Users List
Subject: Re: [rules-users] alerts in drools

Why do you need alerts for? If you are trying to see somehow the execution of a group of rules, you can attach an AgendaEventListener to your session:

ksession.addEventListener( new AgendaEventListener(){
....
}
);


Best,

2010/6/8 Fnu Mahalakshmi <FMahalakshmi at nyx.com<mailto:FMahalakshmi at nyx.com>>
Hi,
Is there anyway I can create "alerts" in drools??
If there is any documentation for it could someone point me towards it??

Thank you
-m
________________________________

Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org<mailto:rules-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users



--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti

________________________________

**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100609/706d4b9a/attachment.html 


More information about the rules-users mailing list