|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Correlation ID |
« View previous topic :: View next topic » |
Author |
Message
|
carolhara |
Posted: Tue Feb 03, 2009 10:03 am Post subject: Correlation ID |
|
|
Acolyte
Joined: 02 Oct 2007 Posts: 56
|
Hello there!
My question is: when does an application get the correlation ID - on the MQput of a message or on its commit/syncpoint?
Thankss |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Feb 03, 2009 10:13 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The MQMD field is an INOUT parameter of MQPUT.
If you have indicated that you want the qmgr to generate a correlation ID when you do a PUT, then the MQMD that you pass in will be updated. |
|
Back to top |
|
 |
carolhara |
Posted: Tue Feb 03, 2009 10:55 am Post subject: |
|
|
Acolyte
Joined: 02 Oct 2007 Posts: 56
|
Does the CorrelID guarantee that a message was put into a queue?
Thanks. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Feb 03, 2009 11:08 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The MQRC from the MQPUT assures you that MQ has accepted the message.
The MQRC from MQCOMMIT assures you that any global units of work have been completed successfully. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Feb 03, 2009 12:17 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Like MsgId, CorrelId is an MQMD field. MQMD is the message descriptor that accompanies your application data when MQPUT to a queue or MQGET from a queue.
The MQMD fields contain information about your application data (like format, CCSID, encoding. Refer to the WMQ Application Programming Reference and WMQ Application Programming Guide. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|