User defined configurable service
The node requires a user defined configurable service to specify the decision server management console and
the decision server
database.
mqsicreateconfigurableservice TEST -c UserDefined -o DecisionService
-n db.driver,
db.password,
db.url,
db.user,
ds.initialContextFactory,
ds.javaVmArgs.com.ibm.CORBA.ConfigURL,
ds.javaVmArgs.com.ibm.SSL.ConfigURL,
ds.jmxUri,
ds.listenRuleSetChange,
ds.password,
ds.providerUri,
ds.serverCheckInterval,
ds.user,
xu.maxSize,
xu.waitTimeout
-v "com.ibm.db2.jcc.DB2Driver",
"Jun30wert",
"jdbc:db2://localhost:50000/RESDB",
"jochen",
"com.ibm.websphere.naming.WsnInitialContextFactory",
"file:///C:/ProgramData/IBM/MQSI/thinclient/sas.client.props",
"file:///C:/ProgramData/IBM/MQSI/thinclient/ssl.client.props",
"service:jmx:iiop://ADMINIB-8507281/jndi/corbaname:iiop:ADMINIB-8507281:2809/WsnAdminNameService#JMXConnector",
"true",
"test",
"corbaloc:iiop:localhost:2809",
"5000",
"admin",
"10",
"-1 "- db.driver - The database driver for your decision server database implementation.
- The type is String.
- For DB2® use the JCC driver
com.ibm.db2.jcc.DB2Driver.
- db.password - The database user password of the user who accesses the decision server database.
- The type is string.
- db.url - The database URL of the decision server database
- The type is string.
- For DB2 use the JCC type
jdbc:db2://<database>:<port>/<db-alias>
- db.password - The database user password of the user who accesses the decision server database.
- The type is string.
- db.user - The database user name of the user who accesses the decision server database.
- The type is string.
- ds.initialContextFactory - Defines the initial JNDI context factory of the decision server
application server run time used.
- The type is string.
- Example for IBM®
WebSphere®
Liberty:
com.ibm.websphere.naming.WsnInitialContextFactory
- ds.javaVmArgs.com.ibm.CORBA.ConfigURL - Property needed by the client for a specific implementation
of an application server to support an IIOP connection.
- The type is string.
- For IBM
WebSphere
Liberty you need
file:///<thin-client-dir>/sas.client.props
- ds.javaVmArgs.com.ibm.SSL.ConfigURL - Property needed by the client for a specific implementation
of an application server to support SSL security.
- The type is table property with a string as key and value.
- For IBM
WebSphere
Liberty you need
file:///<thin-client-dir>/ssl.client.props
- ds.jmxUri - Defines the URL of the JMX interface of the application server
- The type is string.
- Example for WAS ND:
service:jmx:rmi://<hostname>:<bootstrap port> /jndi/JMXConnector - Example for WAS XD:
service:jmx:iiop://<hostname>/jndi/corbaname:iiop: <bootstrap port>/WsnAdminNameService#JMXConnector
- ds.listenRuleSetChange - Defines if the node receives rule change events or not
- The type is boolean.
- This property is required.
- The default is false.
- True means the integration bus listens at a J2EE Decision Management System.
- ds.password - The application server user password of the user who accesses the MBean server.
- The type is string.
- ds.providerUri - Defines the URL of the IIOP interface of the application server
- The type is string.
- Example string:
corbaloc:iiop:<hostname>:<bootstrap port>
- ds.serverCheckInterval - Defines an interval, in milliseconds, that the IBM App
Connect uses to send a keep alive to the JMX interface of the application server. If the check fails, it tries to
reconnect the JMX interface.
- The type is integer.
- This property is required.
- The default is 3000.
- ds.user - The application server user who access the MBean server.
- The type is string.
- xu.maxSize - Use the maxSize parameter to set the maximum number of instances
in the connection pool of the Decision Server.
- The type is integer.
- The default is 10.
- xu.waitTimeouts - Use the waitTimeout parameter to set the maximum number of
milliseconds before attempts to obtain an instance from the pool fail.
- The type is integer.
- The default is -1.
To overwrite the properties use the following local environment structure:
LocalEnvironment.DecisionServiceParameter.RulesetPath = '/EmployeeApp/EmployeeRules';
LocalEnvironment.DecisionServiceParameter.RulesetParameter.Parameter[1].Name = 'message';
LocalEnvironment.DecisionServiceParameter.RulesetParameter.Parameter[1].DataLocation = '/XMLNSC/Employee_Info';
The Decision Management System has the following node properties:
- Configurable Service
- The type is string.
- The default is DecisionService.
- This property is required.
- It specifies the user defined configurable service of the Decision Server Management Console.
- Logging Level - Log Level for the node
- The type is enum.
- The default is INFO.
- The logs get written in the system out file of the execution group.
- The level INFO provides information for the rule update events and the raised exceptions.
- Use all level below INFO for debugging purposes.