mqsimigratemsgflows command

Supported platforms

  • Windows 2000, Windows XP

Purpose

Use the mqsimigratemsgflows command to create new flows in the WebSphere Business Integration Event Broker V5.0 format, based on existing exported flows from a WebSphere MQ Event Broker V2.1 Configuration Manager.

Note:
  1. This command is for one way migration to the WebSphere Business Integration Event Broker V5.0 Message Brokers Toolkit from the previous V2.1 release.
  2. Stop your Message Brokers Toolkit session before you invoke the command.
  3. Invoke the command from the Eclipse directory where the default workspace is located, in order for the command to operate on the default workspace.
  4. If the workspace is in a different location, Specify the location using the -data flag.

Syntax

Parameters

-data WorkspacePath
(Optional) The path of the workspace on which to run the Eclipse platform.

The workspace location is also the default location for projects. Relative paths are interpreted as being relative to the directory from which Eclipse was started.

-p ProjectName
(Required) The project name where the new flows are created. If the project already exists, the flows are added to this project. If the project does not exist, this command creates it.
Note: You must specify the p parameter before the d parameter.
-d DirectoryPath
(Required) The directory path where the exported flows can be found.

A relative path is interpreted from the current working directory. You can specify a full path. All nested directories are ignored.

The flow name becomes the name of the .msgflow file. You can change this name to meet the local file naming conventions.

Duplicate message flows are ignored; any error of this form is reported in the migration report file.

-rm
(Optional) Replace message flow projects if they already exist.
-log <filepath>
(Optional) Report file

For further information on flow migration, see Message flow migration notes.

Authorization

No specific authority is required to invoke this command.

Examples

mqsimigratemsgflows -p sample -d c:\wmqi\test 
Related concepts
Migration
Message flows
Related tasks
Migrating
Related reference
Message flow migration notes