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 » MQGet node and Get by CorrelationID

Post new topic  Reply to topic
 MQGet node and Get by CorrelationID « View previous topic :: View next topic » 
Author Message
Vakku
PostPosted: Mon Oct 13, 2008 9:58 pm    Post subject: MQGet node and Get by CorrelationID Reply with quote

Novice

Joined: 13 Oct 2008
Posts: 20
Location: California

Hi,

I would like to use "MQGet node" and use "Get Message By Correlation ID" property. I designed the flow like MQInput-->Compute-->MQGet-->MQOutput.

In MQGet, I'm seting the Correlation ID as

Set OutputLocalEnvironment.MQ.GET.MQGMO.MsgId=X'414D51205742524B36315F44454641551765DB4821017207';

But I'm getting a Failure message from MQGet node saying 'MQMD not provided" and " InputLocalEnvironment.MQ.GET: The length must be correct" and like that.....

"RecoverableException BIP4632E: MQ Get node 'EmailTemplates.MQGet' was unable to obtain MsgId/CorrelId for message matching from input MQMD location: 'InputLocalEnvironment.MQ.GET'.
When 'Get by Message ID'/'Get by Correlation ID' node properties are selected, a valid MQMD must be provided in the input message to MQ Get node at the location specified by the 'Input MQMD Location' node attribute.
Examine the 'Get by Message ID'/'Get by Correlation ID' and 'Input MQMD Location' node attributes to ensure that they are correctly specified and the input message to the node has the right structure. Check the following exception output, if any, for more details about the problem.
2008-10-14 10:19:02.220047 6212 RecoverableException BIP6106E: Length of parser field name ''MQMD'' was '0'. It should be '364'.
The length of the value does not match the required length for the field. "

Can anyone suggest a solution. If possible please post the syntax with whihc I should set the CorrelID for MQGet node to pick the correct message.

thanks,
Vakku.
Back to top
View user's profile Send private message
Vakku
PostPosted: Mon Oct 13, 2008 10:01 pm    Post subject: Reply with quote

Novice

Joined: 13 Oct 2008
Posts: 20
Location: California

Correcting some mistakes in the earlier post.

In the Compute Node, I'm setting the CorrelID as
et OutputLocalEnvironment.MQ.GET.MQGMO.CorrelId=X'414D51205742524B36315F44454641551765DB4821017207';

Please help me out in this.
Back to top
View user's profile Send private message
Esa
PostPosted: Tue Oct 14, 2008 3:34 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

First of all, CorrelId is not a GMO (Get Message Option) but a field in MQMD header. If you just need to get a message by correlation id, the easiest way is to assing the id to correlid field of the actual message descriptor, like

SET OuputRoot.MQMD=correlid=<your value>

and check MQGET node option "Get Message By Correlation ID"

If the original message had a correlid you need to preserve, then you need to create another MQMD in LocalEnvironment and set that as input MQMD location in MQGet Request tab. The new MQMD must use MQMD parser, which means that you must create it like this (for example):

CREATE LASTCHILD of OutputLocalEnvironment DOMAIN 'MQMD';

"Get Message By Correlation ID" is a GMO, but you do not need to set it dynamically because you have selected the opiton in MQGEt node configuration. You can create an MQGMO area if you need to dynamically override the node configuration.
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 » MQGet node and Get by CorrelationID
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.