Author |
Message
|
kirani |
Posted: Mon Jan 28, 2002 10:12 pm Post subject: |
|
|
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 |
|
 |
NickB |
Posted: Tue Jan 29, 2002 2:30 am Post subject: |
|
|
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 |
|
 |
kirani |
Posted: Tue Jan 29, 2002 10:15 am Post subject: |
|
|
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 |
|
 |
Sandman |
Posted: Tue Jan 29, 2002 2:02 pm Post subject: |
|
|
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 |
|
 |
kirani |
Posted: Thu Jan 31, 2002 8:54 pm Post subject: |
|
|
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 |
|
 |
NickB |
Posted: Fri Feb 01, 2002 1:53 am Post subject: |
|
|
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 |
|
 |
kirani |
Posted: Fri Feb 01, 2002 10:36 am Post subject: |
|
|
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 |
|
 |
Sandman |
Posted: Fri Feb 01, 2002 1:28 pm Post subject: |
|
|
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 |
|
 |
surenat |
Posted: Fri Feb 01, 2002 3:35 pm Post subject: |
|
|
Apprentice
Joined: 01 Jan 2002 Posts: 32
|
|
Back to top |
|
 |
|