Adding messages or message components to the source or target

Before you start:

Create a message map file.

To add a message or message component to a source or target:

  1. From the Message Mapping editor, click Map > Add Sources and Targets

    The Add Map Sources and Targets wizard opens.

    Start of changeAlternatively, right-click in the Source pane and click Add Sources or right-click in the Target pane and click Add Targets.End of change

  2. Select messages or message components from the message sets that are in your Message Brokers Toolkit workspace.

    If you cannot find the messages or message components that you expect, select the Show all resources in workspace check box.

    If one does not already exist, a project reference is created from your message flow project to the message set project that contains the selected messages or message components.

Start of changeYou can also add sources and targets by dragging the resources from the Broker Development view in the Broker Application Development perspective onto the source or target pane of your message map. Select resources under Messages or Elements and Attributes from your Message Definitions and drag them onto the source or target pane. If you add a message to the message map, Properties are also added. If you add an element or attribute to the to the message map a global element for a submap is created. Your message map must use either messages or global elements and not a combination of both.End of change

A Mapping node can have only one source message, but can have several target messages. Therefore, you cannot add a source message if one already exists.

Related concepts
Message Mapping editor
Message Brokers Toolkit
Related tasks
Adding a database as a source or target
Related reference
Message mappings
Mapping node