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 » Aggragation and MQMD

Post new topic  Reply to topic
 Aggragation and MQMD « View previous topic :: View next topic » 
Author Message
Heidils
PostPosted: Wed Jul 30, 2003 2:54 am    Post subject: Aggragation and MQMD Reply with quote

Novice

Joined: 25 May 2003
Posts: 11
Location: SA

Hi,

I'm using aggregation as part of one of my flows. In the book Using the Control Center they tell you to add an MQMD to the message in the Compute node after the Aggregation Reply.

I have added the sentence Set OutputRoot.MQMD.Version = 2; and Set OutputRoot.MQMD.Format = 'MQSTR' . This seems to be working but what I would like to know is why they original MQMD header is not available here and what other fields need to be set ?

I keep on feeling as if I might be missing something here...

Thanks!!
Back to top
View user's profile Send private message
Craig B
PostPosted: Fri Aug 01, 2003 3:42 am    Post subject: Reply with quote

Partisan

Joined: 18 Jun 2003
Posts: 316
Location: UK

Hi,

The MQMD's of your reply messages are stored and are available for usage after the AggregateReply node. These are stored in the LocaEnvironment under the aggregation name along with the message body folder of the reply.

It is likely that you will have more than one reply message in your scenario and therefore will have multiple MQMD's available in your LocalEnvironment aggregation folder, one for each reply received. However, you will now need to construct an Output message that is usually a combination of your reply messages in some way. This one output message will have to have an MQMD, but which of the multiple reply messages contains the MQMD you want to use? Well aggregation does not do this, so it cannot build an MQMD folder for you. It is left to the user to build a new MQMD folder either using the reply messages MQMD's as a basis, or whether to hardcode new constant values into this new MQMD.

Hope this explanation helps.
_________________
Regards
Craig
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 » Aggragation and MQMD
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.