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 » General IBM MQ Support » Correlation Id

Post new topic  Reply to topic
 Correlation Id « View previous topic :: View next topic » 
Author Message
JUMPINJACK
PostPosted: Wed Nov 05, 2003 4:13 am    Post subject: Correlation Id Reply with quote

Newbie

Joined: 15 Oct 2003
Posts: 3

Hello again...many thanks for your reply on my previous query (we have lift off) things are moving on now...the query I have now is how to prevent a Correlation Id being returned in the Reports for COA, COD and EXP..regards JJ
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Wed Nov 05, 2003 4:38 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

I don't think you can. I would expect the CorrelId in these cases to be the MessageId of the original message. Why do you want to prevent it?
Back to top
View user's profile Send private message
JUMPINJACK
PostPosted: Wed Nov 05, 2003 6:17 am    Post subject: Reply with quote

Newbie

Joined: 15 Oct 2003
Posts: 3

At my current place of employment they do not use any report feedback and this is what I am trying to implement into the existing infrastructure. As far as I can gather the existing stuff seems not to be able to handle correlation Id just message Id's (do's that make any sense!)...also I need to read the messages using keys and at present looking around (manuals) to discover how this can also be done....

I know the above may seem back to basic stuff but I have been set this task and treating this as a challenge to become fimilair and more confident in using MQ(since I am relatively new to MQ).

In general: I am trying to create more resilence to the system and implement something that when a definition of a failure as occurred to re-direct all traffic to another Q manager.

The overall picture is that I am trying (as stated previously) implement the various report feedbacks. If the reports result in an error i.e COA fails. COD fails and EXP report (indicating an error has occurred) then I will treat this as a my definition of a failure (along with a time out). I will then need to modify the existing code as to transfer all proceesing to another queue manager (which will mirror the exisiting setup).

Hope the above makes a little bit of sense and look forward to hearing from yourselves...once again many thanks JJ
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Nov 05, 2003 8:49 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Jack I'm still not clear exactly why you are trying to do what your are trying, but no matter.

In the MQMD, their is a field called Report Options. In that field, along with asking for COAs and CODs and etc, you can tell the other side (the receiving QM in this case) how you want the Message IDs and CorrelIDs handled.

http://publibfp.boulder.ibm.com/epubs/html/csqzak09/csqzak09tfrm.htm
Go to Chapter 10 and look for the Report field.

If you set the option MQRO_PASS_CORREL_ID, and have a nulls correl ID on the request message, your report message will have the same (nulls).

If you want the original Message ID of the Request in the Report (not recomended, but possible), then also set MQRO_PASS_MSG_ID.
_________________
Peter Potkay
Keep Calm and MQ On
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 » General IBM MQ Support » Correlation Id
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.