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 » CorrelID and MessageID

Post new topic  Reply to topic
 CorrelID and MessageID « View previous topic :: View next topic » 
Author Message
Nanenbaum
PostPosted: Mon Mar 17, 2008 7:45 am    Post subject: CorrelID and MessageID Reply with quote

Newbie

Joined: 12 Mar 2008
Posts: 7
Location: Inet

Hi all you people:

I dont't understand how it works de correlationid and de messsageid, somebody can explain this to me or gimme some link or a paper please or example?


Thanks.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 17, 2008 7:48 am    Post subject: Reply with quote

Grand High Poobah

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

Message id = the id of the message
Correlation id = the id of a message related to the one you're looking at. Often the id of a request which prompted the reply you're processing.

This request/reply model is described in the Intercommunication manual, also in the APG. You'll also find options for retrieving messages by id described in the APR as well as the above publications.

Happy Reading!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Nanenbaum
PostPosted: Mon Mar 17, 2008 10:03 am    Post subject: Reply with quote

Newbie

Joined: 12 Mar 2008
Posts: 7
Location: Inet

Hi Vitor:

I need examples...., who set de correlid and de message id? are they "automatics"??
Back to top
View user's profile Send private message
tleichen
PostPosted: Mon Mar 17, 2008 10:52 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp


_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 17, 2008 12:11 pm    Post subject: Reply with quote

Grand High Poobah

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

Nanenbaum wrote:
I need examples...., who set de correlid and de message id? are they "automatics"??


They can be, msg id should be, you'll find examples in the documentation I mentioned.

You'll also find a lot of discussion about them on the forum. The Search Button Is Your Friend.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Prashant_MQ
PostPosted: Mon Mar 24, 2008 2:56 am    Post subject: Reply with quote

Apprentice

Joined: 07 Feb 2006
Posts: 28

Usually in the app dev environment the message ID is copied back to the correl ID when a reply back is sent to the source system.This will help the source app to match the message ID it had set during the MQPUT with the correl ID that it received while MQGET.Very useful feature when there are too many messages sent to the same destination in very less time.

Default values are

MQPMO_NEW_MESSAGE_ID will cause the queue manager to generate a unique message ID everytime a message is sent to the destination.
MQPMO_NEW_CORREL_ID will cause the queue manager to genegate the correl ID.Not a good practice to set the correl ID,though.

cheers
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 » CorrelID and MessageID
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.