ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » New mapping node and propagating multiple messages

Post new topic  Reply to topic
 New mapping node and propagating multiple messages « View previous topic :: View next topic » 
Author Message
vmn
PostPosted: Mon Nov 10, 2003 12:32 am    Post subject: New mapping node and propagating multiple messages Reply with quote

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
View user's profile Send private message
mpuetz
PostPosted: Mon Nov 10, 2003 5:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
vmn
PostPosted: Tue Nov 11, 2003 9:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
mpuetz
PostPosted: Wed Nov 12, 2003 12:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
vmn
PostPosted: Wed Nov 12, 2003 10:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » New mapping node and propagating multiple messages
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.