IBM Support

Get ruleset information in Rule Execution Server

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.

[{"Product":{"code":"SS6MTS","label":"WebSphere ILOG JRules"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Modules:Execution Server (BRES \/ RES)","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1;7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5;8.0;7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

jrules/FAQ/200

Document Information

Modified date:
15 June 2018

UID

swg21400648