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 » Get messages based on Corellation ID + GroupId

Post new topic  Reply to topic
 Get messages based on Corellation ID + GroupId « View previous topic :: View next topic » 
Author Message
run
PostPosted: Wed May 27, 2009 11:05 am    Post subject: Get messages based on Corellation ID + GroupId Reply with quote

Apprentice

Joined: 14 May 2007
Posts: 45
Location: Newyork, USA

Hi Everyone,
I know how to get a message by using just the corellation ID. But this is what i tried to get based on both Corell ID & Group Id this did not work.
SET OutputLocalEnvironment.MQ.GET.MQGMO.Options = MQGMO_WAIT;
set OutputLocalEnvironment.MQ.GET.MQGMO.MatchOptions = MQMO_MATCH_CORREL_ID + MQMO_MATCH_GROUP_ID;
set OutputRoot.MQMD.CorrelId = InputRoot.MQMD.MsgId;
set OutputRoot.MQMD.GroupId = X'020202020202020202020202020202020202020202020202';
set OutputRoot.MQMD.MsgFlags = MQMF_MSG_IN_GROUP;

Setting the properties on the MQget as MQMD parameters location: InputRoot.MQMD
InputMQ parameters location: InputLocalEnvironment.MQ.GET
Can somebody suggest me how to go about it.

Thank you,
Ron
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 27, 2009 12:34 pm    Post subject: Re: Get messages based on Corellation ID + GroupId Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

run wrote:
this did not work.


Didn't work how? 2033 or other error?

How are you handling grouping with the MQGet node you're using? Rather than an MQInput node?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
run
PostPosted: Wed May 27, 2009 1:07 pm    Post subject: Reply with quote

Apprentice

Joined: 14 May 2007
Posts: 45
Location: Newyork, USA

There is know specific error its just that the message is picked up based on the corellation ID sololy even though the mentioned Group ID is different from that which is set in the input message. The message is still picked up when set group ID different from recieving message Group ID.
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu May 28, 2009 4:49 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

There is an iFix ( IC57560 ) for something similar :
http://www.mqseries.net/phpBB2/viewtopic.php?p=242856
Back to top
View user's profile Send private message
run
PostPosted: Fri May 29, 2009 6:26 am    Post subject: Reply with quote

Apprentice

Joined: 14 May 2007
Posts: 45
Location: Newyork, USA

I have Broker version 6.1.0.3. Which I guess contains that fixpack. Any further suggestions will be appreciated.

Thank you,
Ron
Back to top
View user's profile Send private message
zpat
PostPosted: Fri May 29, 2009 7:22 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Don't code set OutputRoot.MQMD.MsgFlags = MQMF_MSG_IN_GROUP;

As it makes no sense for as an input to MQGET.

Try getting the required logic working in a standard MQI program before trying to reproduce it in WMB, or use the MQI API exerciser to test.
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 » Get messages based on Corellation ID + GroupId
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.