Professional Documents
Culture Documents
IBM Integration Bus Version 9 Beta Mapping Node
IBM Integration Bus Version 9 Beta Mapping Node
IBM Integration Bus Version 9 Beta Mapping Node
June 2013
Improved usability
– Simple learning curve
– Simple transformations are simple to create
– Complex transformations build on concepts previously mastered
Improved capability
– Builds upon ‘best of breed’ mapping technologies in IBM products
– Full XPath 2.0 expression support
• Standards-based language designed for hierarchical data structures
Improved performance
– Dedicated runtime engine
Properties editor
Transform
Toolbar
Name Type
+ Expand Occurrence
- Collapse
11 IBM Integration Bus V9 Beta Program © 2013 IBM Corporation
The Mapping Editor
Find elements
anywhere in the tree
Help system
Local Move
For each Assign
If / Else Convert
Submap XPath function - categorised
Create Custom XPath expression
Join Java – user defined
Append ESQL – user defined
Group
When working in ‘full screen mode’ – the map takes the whole area
– Good for working with large, complex maps, but…
– How do I see the properties?
– Press ‘Alt-Enter’
Or click here
Breadcrumb trail
Up one level
Outline view
Linked to map
Refactor to submap
– Convert a structural transform
to a submap
– Allows existing structural
transforms to be reusable
WMB ‘user trace’ will track the progress of the message though the map
Logs messages when
– individual transforms are entered and exited
– The input tree is navigated
– Output tree elements are created
– Values assigned to the output
– Variables are assigned/updated or go out of scope
– Functions are invoked, including user defined functions
…
2012-03-12 12:07:53.044555 96400 UserTrace BIP3962I: The Mapping node is assigning the value ''Twister'' to
the current output element.
2012-03-12 12:07:53.044647 96400 UserTrace BIP3956I: The Mapping node is exiting the transform ''Move''.
2012-03-12 12:07:53.044689 96400 UserTrace BIP3955I: The Mapping node is entering the transform ''Move''.
2012-03-12 12:07:53.044815 96400 UserTrace BIP3959I: The Mapping node is traversing the input tree by using
the nodetest ''element(Price)'' and the relationship ''child''. The number of matching elements is ''1''.
2012-03-12 12:07:53.044876 96400 UserTrace BIP3960I: The Mapping node is adding a new element with name
''out:Cost'' into the output tree.
…
set ADD_CUSTOMER.IDENT = (
select id from new table (
insert into customers (name, address)
values (ADD_CUSTOMER.NAME,ADD_CUSTOMER.ADDRESS)
)
);
SET ADD_CUSTOMER.NAME = UPPER(ADD_CUSTOMER.NAME);
END P1
OPEN cursor1;
OPEN cursor2;
63 IBM Integration Bus V9 Beta Program © 2013 IBM Corporation
END P1
Stored Procedures – Returning ResultSet(s)
<library>
<parameters>
<name>FRED BLOGS</name>
<value>16</value>
<name>JOE SMITH</name>
<value>17</value>
<name>MARY BERRY</name>
<value>18</value>
</parameters>
</library>
When checked
– If input array is empty
– or no inputs match filter condition
– Then the transform runs once
• Primary input in nested transform will be missing
• The index variable will be set to zero