Apama 10.3.1 | Apama Capital Markets Foundation Documentation | Capital Markets Foundation | Order Management | Risk firewall | Implementing custom risk firewall rule classes
 
Implementing custom risk firewall rule classes
 
Introduction to custom rule class implementation
General steps for implementing custom rule class
Sample code for implementing custom rule class
How a risk firewall queries rule classes
If the default rule classes provided with the risk firewall do not meet your needs you can implement a custom rule class. Implementation of a custom rule class is accomplished by using a com.apama.firewall.RuleClassFactory to create a com.apama.firewall.RuleClass object. You then override the default action implementations in your RuleClass object with actions that provide the rule class logic you need. After you create a custom rule class, you register it with a risk firewall. You can then add instances of your custom rule class just as you would add instances of a default rule class.

Copyright © 2013-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.