|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
New mapping node and propagating multiple messages |
« View previous topic :: View next topic » |
Author |
Message
|
vmn |
Posted: Mon Nov 10, 2003 12:32 am Post subject: New mapping node and propagating multiple messages |
|
|
Novice
Joined: 10 Nov 2003 Posts: 16 Location: Helsinki, Finland
|
Hi,
I'm learning WBIMB CSD02. We use WMQI 2.1 for XML <-> COBOL mapping. One XML message should be mapped to multiple COBOL format messages. Currently we use ESQL for the job.
I wonder if this can be done with the new Mapping node. In a mapping module it is possible to add multipe Output Message Mappings. It is only possible to select one Message Body in Output Message Properties, though.
The outline view of mapping module shows an empty 'Propagate Messages' element. Also, right-clicking the outline view shows dimmed 'Modify Message Propagation' and 'Remove Message Propagation'.
Does anyone have a clue?
Thanks,
Veli-Matti |
|
Back to top |
|
 |
mpuetz |
Posted: Mon Nov 10, 2003 5:01 pm Post subject: |
|
|
Centurion
Joined: 05 Jul 2001 Posts: 149 Location: IBM/Central WebSphere Services
|
Hi,
the good thing about the mappings you can create with the mapping editor is that you don't have to use them in a mapping node.
A mapping node is in fact a very simple compute node which
merely calls your mapping. The mapping itself is an ESQL
procedure which you could call from a custom compute node,
thus you can code the multi-propagate part on your own and
leace the mapping stuff to the mapping editor if you prefer
e.g. like this
DECLARE I, num_message INTEGER;
WHILE I <= num_messages DO
CALL MapHeaders(InputRoot,OutputRoot);
CALL MyMappingCreatedWithMappingEditor(InputRoot,OutputRoot,I);
PROPAGATE;
END WHILE;
-- suppress the last implicit propagate
RETURN FALSE; _________________ Mathias Puetz
IBM/Central WebSphere Services
WebSphere Business Integration Specialist |
|
Back to top |
|
 |
vmn |
Posted: Tue Nov 11, 2003 9:32 pm Post subject: |
|
|
Novice
Joined: 10 Nov 2003 Posts: 16 Location: Helsinki, Finland
|
Thanks,
I guess that the bad thing about mapping is that ESQL will be generated at deployment. At least I have only found XML definitions of the mappings within my project. Also, it is not possible to set breakpoints within mappings when debugging.
What really puzzles me are those dimmed propagate related things in the mapping module outline view. I guess that the implementation is still evolving. Also, documentation is less than complete.
Veli-Matti |
|
Back to top |
|
 |
mpuetz |
Posted: Wed Nov 12, 2003 12:16 pm Post subject: |
|
|
Centurion
Joined: 05 Jul 2001 Posts: 149 Location: IBM/Central WebSphere Services
|
Hi,
true, you cannot see the generated mapping code during development
time, but you during debugging, simple put a breakpoint before
your mapping node, and step into the node and single-step through
the mapping.
Try the recently released CSD02 for updated documentation and
a much more functional mapping editor (all-to-all mappings work now). _________________ Mathias Puetz
IBM/Central WebSphere Services
WebSphere Business Integration Specialist |
|
Back to top |
|
 |
vmn |
Posted: Wed Nov 12, 2003 10:58 pm Post subject: |
|
|
Novice
Joined: 10 Nov 2003 Posts: 16 Location: Helsinki, Finland
|
Thanks,
I'm already using CSD02.
It would be very nice to preview the generated ESQL, since you still have to be familiar with ESQL if something goes wrong.
You can set breakpoints in ESQL code. Why is it not possible for mappings?
Do you have any idea about those propagate things in mappings outline?
Regards,
Veli-Matti |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|