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 » ResetContentDescriptor is counter-intutive!

Post new topic  Reply to topic
 ResetContentDescriptor is counter-intutive! « View previous topic :: View next topic » 
Author Message
saini
PostPosted: Thu Oct 07, 2004 9:33 am    Post subject: ResetContentDescriptor is counter-intutive! Reply with quote

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?

thanks for all your help!
regards.
Saini
Back to top
View user's profile Send private message
JLRowe
PostPosted: Fri Oct 08, 2004 1:17 am    Post subject: Reply with quote

Yatiri

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

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ResetContentDescriptor is counter-intutive!
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.