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 » How to Get Msg By MQGet Node when InputRoot Missing MQMD ?

Post new topic  Reply to topic
 How to Get Msg By MQGet Node when InputRoot Missing MQMD ? « View previous topic :: View next topic » 
Author Message
Ranodip Basu
PostPosted: Mon Apr 02, 2007 1:17 pm    Post subject: How to Get Msg By MQGet Node when InputRoot Missing MQMD ? Reply with quote

Apprentice

Joined: 23 Sep 2004
Posts: 48

Hi All,

We are using WMB 6.0. Now we have developed a message flow which getting message thru HTTPInput node, attaching required MQMD header part on it to put in a particular queue. Now there is another message flow which will pickup messages from the output queue of first message flow and after doing some transformation it sending to a 2nd queue.

Now this 2nd queue is being attached to a MQGet node in 1st message msgflow to retrieve the final message by msgId. This MQGet node we have attached just after the MQOutput node in 1st message flow.

Now the problem is :

Since the input msg is from HTTPInput node so, does not contain a MQMD header part. Now the message we are getting just after MQOutput node and before MQGet node - the new generated msgId is stored at LocalEnvironment.WrittenDestination.MQ.DestinationData.msgId where as the MQGet expecting the msgId at InputRoot.MQMD location and not able to get it.

Thanks,
Ranodip
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 02, 2007 1:18 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I think you can use SET to solve this.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Ranodip Basu
PostPosted: Mon Apr 02, 2007 1:24 pm    Post subject: Reply with quote

Apprentice

Joined: 23 Sep 2004
Posts: 48

Hi jefflowrey,

So are talking to add one Compute node just between the MQOutput and MQGet node and execute the command,

SET OutputRoot.MQMD.msgId = InputRoot.LoalEnironmnet.WrittnDestination.MQ.DestinationData.msgId ,

and the Outputroot.MQMd.msgId wil be treated as InputRoot.MQMD.msgId in MqGet node next ?

Regards,
Ranodip
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 » How to Get Msg By MQGet Node when InputRoot Missing 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.