|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MRM, CWF and element ordering |
« View previous topic :: View next topic » |
Author |
Message
|
el_pollo_del_mar |
Posted: Wed Dec 04, 2002 12:05 am Post subject: MRM, CWF and element ordering |
|
|
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 |
|
 |
kirani |
Posted: Wed Dec 04, 2002 9:41 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|