This topic contains sections marked as revised for this release

WebSphere Message Brokers
File: ac02180_
Writer: Karen Cameron

Task topic

This build: July 31, 2007 21:17:04

Creating a message flow project

Before you start:

Read the concept topic about message flow projects.

A message flow project is a container for message flows; you must create a project before you can create a message flow.

The project and its resources are stored in a file system or in a shared repository. If you are using a file system, this can be the local file system or a shared drive. If you store files in a repository, you can use any of the available repositories that are supported by Eclipse, for example CVS.

To create a message flow project and other resource files that you need to start developing applications, you can use a Quick Start wizard.

To create only a message flow project, perform the following actions:

  1. Switch to the Broker Application Development perspective.
  2. Click File > New > Message Flow Project or right-click any resource in the Broker Development view and click New > Message Flow Project.

    You can also press Ctrl+N. This displays a dialog that allows you to select the wizard to create a new object. Click Message Brokers in the left view; the right view displays a list of objects that you can create for WebSphere Message Broker. Click Message Flow Project in the right view, then click Next. The New Message Flow Project wizard displays.

  3. Enter a name for the project. Choose a project name that reflects the message flows that it contains. For example, if you want to use this project for financial processing message flows, you might give it the name Finance_Flows.
  4. Leave the Use default check box checked (it is checked when the dialog opens) This applies if you want to use the default location for the new message project directory, that is, in the \workspace subdirectory of your current installation. You cannot edit the Directory entry field.
    1. Alternatively, clear the Use default check box and specify a location for the new message flow project files in the Directory entry field. This applies if you do not want to use the default location.
    2. Use the Browse button to find the desired location or type the location in.
  5. Click Next if you want to specify that this message flow project depends on other message flow projects, or on message set projects, You are presented with a list of current projects. Select one or more message flow projects, or one or more message set projects, or both, from the list to indicate this new message flow project's dependencies.

    This message flow project depends on another message flow project if you intend to use common resources within it. Common resources that you can share between message flow projects are:

    1. ESQL subroutines (defined in broker schemas)
    2. Mappings
    3. Message sets
    4. Subflows

    For example, you might want to reuse a subflow that provides standard error processing such as writing the message to a database, or recording a trace entry.

    This message flow project depends on a message set project if you intend to refer to the message it defines within ESQL within the message flow nodes.

    You can add dependencies after you have created the message flow project by right-clicking the project in the Broker Development view and clicking Properties. Click References and select the dependent message flow or message set project from the list of projects displayed.

  6. Click Finish to complete the task.
The project file is created within a directory that has the same name as your message flow project in the specified location. All other files that you create (or cause to be created) related to this message flow project are created in this same directory.

A default broker schema (default) is also created within the project. You can create and use different schemas within a single project to organize message flow resources, and to provide the scope of resource names to ensure uniqueness.

Next: create a message flow
Related concepts
Project references
Development repository
Message flows overview
Broker schemas
Quick Start wizards overview
Related tasks
Developing message flows
Deleting a message flow project
Creating a message flow
Creating a broker schema
Related reference
Broker Application Development perspective
Rules for naming workspace objects
Notices | Trademarks | Downloads | Library | Support | Feedback

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

ac02180_ This topic's URL is: