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 » MRM, CWF and element ordering

Post new topic  Reply to topic
 MRM, CWF and element ordering « View previous topic :: View next topic » 
Author Message
el_pollo_del_mar
PostPosted: Wed Dec 04, 2002 12:05 am    Post subject: MRM, CWF and element ordering Reply with quote

Novice

Joined: 01 Jul 2002
Posts: 13

When converting between two MRM message sets which each use CWF as the physical format, do the fields in the output MRM message have to be populated in the same order as they are defined in the message set?

IE:

If MRM2 has 4 fields: 1, 2, 3 and 4, and I use a compute node to map MRM1 -> MRM2 (using MRM2 as the message body and setting Properties.MessageFormat = 'CWF'), does this mean that I have to do:

SET OutputRoot.MRM.1 = InputRoot.MRM.1;
SET OutputRoot.MRM.2 = InputRoot.MRM.2;
SET OutputRoot.MRM.3 = InputRoot.MRM.3;
SET OutputRoot.MRM.4 = InputRoot.MRM.4;

and not in any other order?

I know this seems like a rather obvious question, but I would have thought that the broker would be smart enough to handle setting MRM fields within a compute node without imposing the strict 'Input messages in CWF format must be in the correct order' rule.
Back to top
View user's profile Send private message
kirani
PostPosted: Wed Dec 04, 2002 9:41 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

You could populate fields in output message out-of-order if your output message's Compound Type is defined as Unordered Set. While writing out the message Broker will re-order these elements as per your output MRM message definition.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MRM, CWF and element ordering
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.