WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Creating a submap

Create a submap using the Graphical Data Mapping editor.

A submap enables you to use the same piece of mapping function in multiple graphical data maps.

When using submaps, consider the following:
  • A submap can provide callable mapping between global elements or global types from a message model. A submap cannot be used for local anonymous complex types. These must be mapped within the main map, for example, by a local map.
  • Submaps must be placed in the same application, library, or project. Alternatively, submaps can be placed in a project or library that is visible to the main map(s) that they are called from.

The following steps show how to create a submap:

  1. Create a connection between global input and output elements in a graphical data map, and then select the Submap transform on the connection: For example:
    Submap transform in the Graphical Data Mapping editor
  2. Click New in the Properties view of the Submap transform. The New Message Map wizard is displayed.
    1. Optional: You can also use an existing submap. To use the submap, click Browse in the Properties view of the Submap transform. A dialogue box will display the visible submaps that map the connected input and output types.
  3. On the Specify a new message map file pane, the type of map that you want to create is selected as Submap called by another map. This is a message map 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 and global types. A submap does not contain Properties, message headers, or the LocalEnvironment. Click Next.
  4. On the Select map inputs and outputs pane, the input and output objects of the submap have been pre-selected.
  5. Click Finish. The new submap is displayed in the Graphical Data Mapping editor, and you can edit it in the same way that you would edit any graphical data map. For information about how to edit maps, see Editing a graphical data map.
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:48:31


Task topicTask topic | Version 8.0.0.7 | cm28821_