Question & Answer
Question
How do you get ruleset information in a Rule Execution Server environment?
Answer
The Rule Execution Server architecture hides the engine object and therefore the ruleset object from the user: because the ruleset is deployed and managed through the Rule Execution Server console and the engine is handled through a rule session object, the application cannot access the IlrContext object that would in turn allow access to the IlrRuleset object used by the current rule execution.
Rule Execution Server is designed to auto-manage rule execution, hiding these operations from the user and thus making applications much easier to deploy and maintain.
It is nevertheless still possible to get information on deployed rulesets from the application; this can be achieved using the JMX API which uses the MBean to retrieve the information: IlrJMXRepositoryMBean , IlrJMXRuleAppMBean and IlrJMXRulesetMBean available under ilog.rules.res.model.mbean.
The product JMX remote sample located at WebSphere ILOG JRules BRMS V7.1 > Samples > Rule Execution Server samples > Automated ruleset management sample illustrates the use of the Rule Execution Server JMX API.
You can refer to the API documentation and the below link for more information.
Related Information
Historical Number
jrules/FAQ/200
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21400648