You can use business
rules to process messages by creating the business rules in IBM® Integration Bus, or by importing them from IBM Operational
Decision Manager. You can also retrieve business
rules at run time from an external IBM Operational
Decision Manager repository.
In IBM Integration Bus, business rules are
contained in a decision service.
A decision service
contains a set of business rules and parameters and is shown in the
IBM Integration Toolkit as a
.rules file.
You can use a decision service to process a message by associating
the decision service with a
DecisionService node in a message
flow. The order in which you create the decision service, configure
it, and associate it with a node, is flexible. When you import a rule
application archive file from
IBM Operational
Decision Manager,
it is converted into a decision service (
.rules file).
Create a decision service in the
IBM Integration Toolkit by
using one of the following methods:
- Click to open the New
Decision Service wizard.
- Right-click an application, library, or integration project, then click .
- In the Application
Development view, click New,
then click Decision Service.
- Add a DecisionService node
to the Message Flow editor, then double-click the node.
- Import a rule application archive into the IBM Integration Toolkit.
If you open the
New Decision Service wizard
from a
DecisionService node,
the decision service is associated with that node. You can then use
the node in a message flow to control operations like routing, validation,
and transformation. If you create the decision service from a menu
option, or you import a rule application archive file, you can drag
the decision service file onto a
DecisionService node to associate
it with the node. You can also associate an existing decision service
with a node by using the
Decision
Service property of the node.
The following instructions
describe how to create a decision service in the IBM Integration Toolkit, configure its parameters and
rules, then associate the decision service with a message flow. For
details about how to use business rules that are written in IBM Operational
Decision Manager, see Accessing rules that are created in IBM Operational Decision Manager.
To
create a decision service, write business rules, and use a decision
service to process messages, see the following topics.
When you are using your decision service to process messages,
you can monitor their behavior by using the activity log and resource
statistics. For more information, see the following topics:
For details of the data that you can capture for decision services,
see the following reference topics: