WebSphere Message Brokers
File: ar25280_
Writer: Cerys Giddings

Task topic

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

Configuring a non-repeating source and a repeating target

To map a non-repeating source element to a repeating target element, drag elements between the Message Mapping editor Source and Target panes. The first occurrence of the target element is set to the value of the source element.

To map to an occurrence other than the first, complete the following steps:

  1. If the target element is not shown in the Spreadsheet pane, right-click its lowest ancestor row, then click Populate. Repeat this action until the target element is shown.
  2. Right-click the target element and click Insert After or Insert Before to select the location to insert the repeating target elements. The Insert After or Insert Before options are disabled if there is nothing valid to be inserted at the selected location. Selecting either of these opens the Insert Statement wizard.
  3. Select the element to insert from the list of valid items.
  4. Enter the number of instances to be added and click OK. The number of instances to be added must be less than or equal to the maximum occurrence specified for the selected element.
The specified number of instances of the repeating target element are added to the Spreadsheet pane. The inserted statements do not have a mapping expression and any children are not displayed. Right-click each element, then click Populate to display any child elements.
By repeating the Insert After and Insert Before action, it is possible to insert more repeating elements in the target than the maximum occurrence specifies. Verify that the number of repeating elements is valid, and delete any unwanted entries.
Related concepts
Message Mapping editor
Creating message mappings
Related reference
Message Mapping editor Source pane
Message Mapping editor Target pane
Message Mapping editor Edit pane
Message Mapping editor Spreadsheet pane
Message mappings
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:36

ar25280_ This topic's URL is: