This topic contains sections marked as revised for this release

WebSphere Message Brokers
File: ar25153_
Writer: Cerys Giddings

Task topic

This build: July 31, 2007 21:36:10

Connect to the database and obtain the definition files

Before you start:

Create a message flow project.

This topic demonstrates how to define a database connection to enable a message flow to access a database table. The database must be defined to the Message Broker Toolkit.

  1. Switch to the Broker Application Development perspective.
  2. Select the message flow project you want to create the database definition files in and click File > New > Database Definitions Files. The New Database Definition Files wizard opens.
  3. Enter a connection name (for example AIRLINEDBALIAS) and click Next.
  4. Ensure Choose a DB2 alias is selected and click Next.
  5. From the Alias drop-down menu, select the database alias name (for example AIRLINEDB) and enter the appropriate User ID and Password in the Specify user information section.
  6. Click Test Connection. A message in the Test Connection dialog box confirms that the connection was successful.
  7. Click Finish. The database definition files are added to the message flow project.
  8. From the Broker Development view, expand the Database Connections folder in the message flow project (for example AIRLINE_MFP) to reveal the files that have been created. Database tables are stored in .tblxmi files.

You have now defined the database to the mapping tools.

Now go to Create the message flow.
Related reference
Message mappings
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:36:10

ar25153_ This topic's URL is: