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 by CorrelID in MQSI

Post new topic  Reply to topic
 Get Messages by CorrelID in MQSI « View previous topic :: View next topic » 
Author Message
kirani
PostPosted: Mon Jan 28, 2002 10:12 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

How to get messages by CorrelID in MQSI? I am getting messages for 5 different CorrelIDs in my input queue. I want to retrieve group of messages for each CorrelID and process them together.

Thanks in advance.
Back to top
View user's profile Send private message Visit poster's website
NickB
PostPosted: Tue Jan 29, 2002 2:30 am    Post subject: Reply with quote

Centurion

Joined: 20 May 2001
Posts: 107
Location: Zurich Financial Services

I think what you are asking is how to get messages by specific correl id???

In this case, select the advanced tab on the input node and check the "Match Correlation Id" box. You then need to define a specific correlation id on which to match.

Not sure if this is what your mean.
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Jan 29, 2002 10:15 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Nick,

Where do i specify specific CorrelId in MQInput node on which to match? I don't see any fields in MQInput node where I can specify CorrelId.

Regards,
Kiran
Back to top
View user's profile Send private message Visit poster's website
Sandman
PostPosted: Tue Jan 29, 2002 2:02 pm    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2001
Posts: 134
Location: Lincoln, RI

Control Center Help (MQInput node):

Match Correlation ID field, default=no

"Specifies that the input node will receive messages only with a matching correlation identifier value, as set in the CorrelId field of the MQMD. If the supplied hex-string is shorter than the size of the CorrelId field, it is assumed to be padded on the right with x'00' characters. This maps to the MQMO_MATCH_CORREL_ID option of the MQGMO of the MQI."
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Thu Jan 31, 2002 8:54 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Lets say, I have 100 messages in a queue with different CorrelID's (ATL, LAX, DAL, ...). In my message flow I want to retrieve only messages whose CorrelID is 'ATL'. In my message flow, I checked 'Match Correlation Id' in my MQInput node. Now, Where do i specify value ('ATL') for matching Correlation ID? I don't see any field in MQInput node where I can specify CorrelID = 'ATL'.

Thanks in advance.

Thanks,
Kiran
Back to top
View user's profile Send private message Visit poster's website
NickB
PostPosted: Fri Feb 01, 2002 1:53 am    Post subject: Reply with quote

Centurion

Joined: 20 May 2001
Posts: 107
Location: Zurich Financial Services

The input node should allow you to specify the correlation id once you've ticked the "Match correlid" checkbox.

HOWEVER!
I've just double-checked my control centre and it doesn't allow me to specify the correlid. I've just gone to 2.0.2 CSD02 and I used to be able to do this.

I'll let you know once I know what the problem is.
Back to top
View user's profile Send private message
kirani
PostPosted: Fri Feb 01, 2002 10:36 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Nick,

I am using MQSI V 2.0.2 on Windows 2000 (CSD1).

Kiran
Back to top
View user's profile Send private message Visit poster's website
Sandman
PostPosted: Fri Feb 01, 2002 1:28 pm    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2001
Posts: 134
Location: Lincoln, RI

I'm sorry, but we're still on v2.0.1 (at least for a couple more weeks). In this version, there is no "check box" for CorrelId on the MQInput node. Instead, there's just a big input field whose default is "no".

I can type right over the word "no" though w/ a correlation ID (in hex) and it works as desired.

Back to top
View user's profile Send private message Send e-mail
surenat
PostPosted: Fri Feb 01, 2002 3:35 pm    Post subject: Reply with quote

Apprentice

Joined: 01 Jan 2002
Posts: 32

See if MQGet plugin is useful for you. You can MQGet plugin at

http://www-3.ibm.com/software/ts/mqseries/txppacs/ia09.html
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
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 by CorrelID in MQSI
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.