WebSphere MQ integration overview

The Java™ Message Service (JMS) API enables access to rule services. To use a message-driven rule bean, you must create the necessary resources under the WebSphere® MQ JMS provider. Both the publish-and-subscribe and the point-to-point models are supported.

A Decision Server rule service can be accessed by an asynchronous invocation pattern that uses the Java Message Service (JMS) API. When a JMS message arrives, the EJB container calls a message-driven rule bean (MDB). The MDB can reside locally or remotely from the client application. In turn, the message-driven rule bean calls the rulesets that are running in the execution unit (XU). The real call to the rule engine is delegated to a simple rule session.

In WebSphere Application Server, the client application is the scenario running in WebSphere Application Server that calls the rule service, the server is the application server where Rule Execution Server is installed. Rule Execution Server is usually running remotely to the client application.

To use a Decision Server message-driven rule bean, you must create the necessary resources under the WebSphere MQ JMS provider at the proper scope for both the client and the server side to make them visible for the client application and the Decision Server MDB respectively. Decision Server implements both standards of asynchronous messaging: the Publish-and-Subscribe Model and the Point-to-Point Model. The following procedure demonstrates how to set up both a point-to-point messaging model and a publish-and-subscribe model. If you need only one of them, you can comment out the resource reference in the deployment descriptor of Decision Server MDB.

Before installation, you must create the following resources in WebSphere MQ:

Use these resources to submit rule execution requests and obtain execution results.

You must perform the following tasks to integrate WebSphere MQ in WebSphere Application Server: