Posted: Thu Oct 07, 2004 9:33 am Post subject: ResetContentDescriptor is counter-intutive!
Novice
Joined: 28 Feb 2002 Posts: 24
Hello Everyone:
I have an easy question:
I have a MRM with two physical layers (CWF and XML). All I want is to take the MRM message and convert it from CWF to XML.
I created a message flow with MQINPUT->RCD->MQOUTPUT nodes. In the RCD node I simply set the Format to XML.
However, this does not produce the desired results. On the other hand if I use a Compute node (instead of a RCD) I can do what needs to be done in the following one statement (using copy entire message).
Set OutputRoot.Properties.MessageFormat = 'XML';
So what am I missing? From what I understand the RCD node simply changes the parser that will be used to parse the message downstream in the message flow. However, wouldn't you need to use a parser to output the message to the queue?
Joined: 25 May 2002 Posts: 664 Location: South East London
RCD discards the current message tree, and allows you to re-parse the bitstream based on the configured node settings. e.g. you can read a message as a BLOB, decide it's actually an MRM message, and then re-parse it from MRM.
Setting the message format tells the MRM parser to serialise the message as a different message format when it comes to serialising the message (at say an MQOuptut node).
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