See information about the latest product version
Accessing databases from message flows
Create and configure message flows to access user databases.
- You can design a message flow that responds to events generated by the database.
- After a flow has already started, you can access the database to read or update information in it. Information from the database can be used to enhance or influence the operation of the message flow.
You can access a database from a message flow by using the following nodes:
- Compute
- Database
- DatabaseInput
- DatabaseRetrieve
- DatabaseRoute
- Filter
- JavaCompute
- Mapping
For more details about these nodes, and how to configure them in message flows, see Built-in nodes.
If you want the actions that the message flow takes against the database to be coordinated with other actions, configure the message flow to support global coordination of transactions. For information about how to complete this task, see Configuring transactionality for message flows.
To access a database from a message flow:
You can view information about samples only when you use the information center that is integrated with the WebSphere Message Broker Toolkit or the online information center. You can run samples only when you use the information center that is integrated with the WebSphere Message Broker Toolkit.