|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to Get Msg By MQGet Node when InputRoot Missing MQMD ? |
« View previous topic :: View next topic » |
Author |
Message
|
Ranodip Basu |
Posted: Mon Apr 02, 2007 1:17 pm Post subject: How to Get Msg By MQGet Node when InputRoot Missing MQMD ? |
|
|
 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 |
|
 |
jefflowrey |
Posted: Mon Apr 02, 2007 1:18 pm Post subject: |
|
|
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 |
|
 |
Ranodip Basu |
Posted: Mon Apr 02, 2007 1:24 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|