WebSphere Message Brokers
File: ar25150_
Writer: Cerys Giddings

Reference topic

This build: July 31, 2007 21:36:10

Message Mapping editor Target pane

The following example shows the Message Mapping editor. The pane that is labelled as 2 in the example is the Target pane:
The Target pane of the Message Mapping editor
The following list describes the elements that are present in the Target pane:
  • A target message is identified by $target.
  • A mapped entry is indicated by a yellow triangle alongside the element. In this example, Customer_ID, Order_Number, and Order_Date are mapped.
  • Square brackets contain minimum and maximum occurrences of an element.
  • An optional field is indicated by [0,1]. In this example, First_Class is optional.
  • A repeating field is indicated by [minoccurs, maxoccurs].
  • A choice field is indicated by a choice line; under the choice line are the possible choices. In this example, First_Class, Second_Class, and Airmail are choices of Delivery_Method.
  • The type of each element is indicated in round brackets after the element name.
  • If the message schema uses namespaces, the namespace prefix is shown before the element name, separated by a colon.

Use the Target pane to invoke a number of actions, a list of which is displayed when you right-click within the Target pane. The following table describes the available actions.

Action Description Related tasks
Undo Undo previous action  
Redo Redo previous action  
Revert Discard  
Open Declaration (message) Display the element definition from the message set.

For this action to be available, select any target message element except LocalEnvironment or Headers.

 
Add Sources and Targets Add a message definition or a database table to a source.

For this action to be available, select any target object.

Adding messages or message components to the source or target, Adding a database as a source or target
Go To

For this action to be available, select any target object.

 
Delete (message) Remove a message and any existing maps from the source.

For this action to be available, select the target message root ($target).

 
Map from Source Create a map between the focus source element and the focus target element.

For this action to be available, select compatible source and target elements.

Mapping a target element from source message elements, Mapping from source: by selection
Map by Name Create a map between the focus source element and the focus target element.

For this action to be available, select compatible source and target elements.

Mapping a target element from source message elements, Mapping from source: by name
Enter Expression

For this action to be available, select any target object except $target

Setting the value of a target element to a constant, Setting the value of a target element using an expression or function
Accumulate If the source and target fields contain numeric data types, this action maps all occurrences of a repeating source field to a non-repeating target, resulting in the sum of all the source elements.

For this action to be available, select the source and target element.

Configuring a repeating source and a non-repeating target
Create New Submap

For this action to be available, select source and target elements that are either elements of complex types or wildcard elements.

Creating and calling submaps and subroutines, Creating a new submap, Creating a new submap for a wildcard source
Call Existing Submap Call an existing submap Creating and calling submaps and subroutines, Calling a submap
Call ESQL Routine Call an existing ESQL routine Creating and calling submaps and subroutines, Calling an ESQL routine
Save Save the .msgmap file  
Related concepts
Message Mapping editor
Related tasks
Developing message mappings
Adding messages or message components to the source or target
Adding a database as a source or target
Mapping a target element from source message elements
Setting the value of a target element to a constant
Setting the value of a target element using an expression or function
Configuring a repeating source and a non-repeating target
Related reference
Message Mapping editor Source pane
Message Mapping editor Edit pane
Message Mapping editor Spreadsheet pane
Notices | Trademarks | Downloads | Library | Support | Feedback

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

ar25150_ This topic's URL is: