Connect to the database and obtain the definition files

Before you start:

Create a message flow project.

This topic demonstrates how to define the database connection that allows the message flow to access the database table in order to look up the two-character airline state code for Illinois. The database is accessed from a Mapping node. The database must be defined to the Message Brokers Toolkit.

  1. Switch to the Broker Application Development perspective.
  2. Click File > New > RDB Definition Files. The Establish a connection to a database dialog box opens.
  3. Set the connection name to the data source (for example AIRLINEDBALIAS) and click Next.
  4. From the Alias drop-down menu, select the database alias name (for example AIRLINEDB) and accept the default user name and password.
  5. Click Test Connection. A message in the Test Connection dialog box confirms that the connection was successful.
  6. Click Finish.
  7. From the Import RDB definition dialog box, click Browse.
  8. Select the destination message flow project where the database definitions are to be copied (for example AIRLINE_MFP).
  9. Click OK.
  10. Ensure that the project field is set to the message flow project name (for example AIRLINE_MFP) and click Finish.
  11. From the Resource Navigator, expand the message flow project (for example AIRLINE_MFP) to reveal the files that have been created. The database table that contains the set of two-character airline state codes is stored in a .tblxmi file.

You have now defined the database to the mapping tools.

Now go to Create the message flow.
Related reference
Message mappings