Sample: Message-driven rule bean

This sample shows how to execute a ruleset on the Rule Execution Server by using a point-to-point message-driven rule bean (MDB), an enterprise bean that Java™ EE applications can use to process messages asynchronously. The sample builds a web application that contains the rules-res-mdb-WAS85.jar file that is provided in the Decision Server distribution to manage message-driven ruleset calls.

Time required

10 minutes

Prerequisites

To use this sample, you must have Rule Execution Server installed.

Description

The sample simulates a pre-trade check operation between a Java client and the message-driven rule bean.

The key features of this sample include:
  • Java Message Service (JMS) integration in Rule Execution Server
  • Rulesets
  • XML binding
  • Message-driven rule beans (MDBs)
  • Ant tasks for RuleApp deployment