This topic contains sections marked as revised for this release
WebSphere Message Brokers
File: ar25262_
Writer: Cerys Giddings Task topic This build: July 31, 2007 21:36:30
Creating a message map file in the Broker Development view
You can create a message map file for use in your message flows in
the Broker Development view. If you want to add a database to your message
map file, you must have created a database definition for
the database.
To create a message map (.msgmap) file in
the Broker Development view:
From the Broker Application Development perspective, click File > New > Message Map.
Alternatively, in the Broker Development view,
right-click the message flow project that you want to create the message map
in and click New > Message Map.
The New Message Map wizard
opens.
Specify the Project, Name and Schema for the message map.
Follow the on-screen instructions to complete the New
Message Map wizard:
On the Select map kind and its source and target pane,
select the type of map you want to create:
If you select the option Message map called by a message flow
node, a message map is created that can be accessed from a node.
Properties are associated with any source or target messages, and you can
select to include message headers and the LocalEnvironment with the message
body.
If you select the option Submap called by another map,
a message map is created that can be referenced from another message map.
This is known as a submap and can contain components of a message body such
as global elements, attributes and types. A submap does not contain Properties,
message headers or the LocalEnvironment.
Select the combination of Messages, Message Components or Data Sources
that you want to use as sources for your map from Select map sources and
select the combination of Messages, Message Components or Data Targets that
you want to use as targets for your map from Select map targets.
If
you cannot find the Messages, Message Components, Data Sources or Data Targets
that you expect, select the Show all resources in workspace check
box.
Select Finish to create the new message
map. The Message Mapping editor opens with the selected
sources and targets.
After you have created a message map file, configure the message mappings. You must also
configure the Mapping routine property on your mapping
node to match the name of your new mapping file.