Hi,  Can someone please point me to compelling examples/sample code  of how to 
use a DROOLs callback API for very high-resolution logging of L-value predicate 
matching events?

E.g.  I want to be able to log when each of these 5 L-value predicates either 
"MATCHES" or "FAILS TO MATCH" (at the time of the event)

rule "LCHUS_IRS_CURRENCY_RULE"  //XLS Item=195
    when
       IRDCurrencyRuleFact(
            productType == "IRS",
            currency=="GBP",
upfrontFeePaymentDate < IRDCurrencyRuleFact.terminationDate,
            maturity <= 18275,                                                  
                                      //unit = days, i.e. 50 Years
            notional <= 99,999,999,999.99                                       
                               //max Notional
       )
    then
                  System.out.println("LCHUS");
end


Ben D Cotton III
Morgan Stanley & Co.
OTC Derivatives Clearing Technology
1221 AOTA Rockefeller Ctr - Flr 27
New York, NY 10020
(212)762.9094
[email protected]<mailto:[email protected]>




________________________________

NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or 
views contained herein are not intended to be, and do not constitute, advice 
within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and 
Consumer Protection Act. If you have received this communication in error, 
please destroy all electronic and paper copies and notify the sender 
immediately. Mistransmission is not intended to waive confidentiality or 
privilege. Morgan Stanley reserves the right, to the extent permitted under 
applicable law, to monitor electronic communications. This message is subject 
to terms available at the following link: 
http://www.morganstanley.com/disclaimers If you cannot access these links, 
please notify us by reply message and we will send the contents to you. By 
messaging with Morgan Stanley you consent to the foregoing.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to