|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Basic Definitions |
« View previous topic :: View next topic » |
Author |
Message
|
Paz |
Posted: Tue Aug 13, 2002 7:56 am Post subject: Basic Definitions |
|
|
Newbie
Joined: 13 Aug 2002 Posts: 2
|
Hello:
It is one month I 'm working with MQseries.There are some topics which I don´t exactily know what they mean.
I would like to know the definitions of:
MSGID
CORRELID
GROUPID.
Thanks and regards. |
|
Back to top |
|
 |
sgopal |
Posted: Tue Aug 13, 2002 8:13 am Post subject: |
|
|
Acolyte
Joined: 30 Jul 2002 Posts: 63
|
Here we go,
Message ID:
This is a byte string that is used to distinguish one message from another. Generally, no two messages should have the same message identifier, although this is not disallowed by the queue manager. The message identifier is a permanent property of the message, and persists across restarts of the queue manager. Because the message identifier is a byte string and not a character string, the message identifier is not converted between character sets when the message flows from one queue manager to another.
For the MQPUT and MQPUT1 calls, if MQMI_NONE or MQPMO_NEW_MSG_ID is specified by the application, the queue manager generates a unique message identifier 3 when the message is put, and places it in the message descriptor sent with the message. The queue manager also returns this message identifier in the message descriptor belonging to the sending application. The application can use this value to record information about particular messages, and to respond to queries from other parts of the application.
Correlation ID:
This is a byte string that the application can use to relate one message to another, or to relate the message to other work that the application is performing. The correlation identifier is a permanent property of the message, and persists across restarts of the queue manager. Because the correlation identifier is a byte string and not a character string, the correlation identifier is not converted between character sets when the message flows from one queue manager to another.
For the MQPUT and MQPUT1 calls, the application can specify any value. The queue manager transmits this value with the message and delivers it to the application that issues the get request for the message.
Group ID:
This is a byte string that is used to identify the particular message group or logical message to which the physical message belongs. GroupId is also used if segmentation is allowed for the message. In all of these cases, GroupId has a non-null value, and one or more of the following flags is set in the MsgFlags field:
MQMF_MSG_IN_GROUP
MQMF_LAST_MSG_IN_GROUP
MQMF_SEGMENT
MQMF_LAST_SEGMENT
MQMF_SEGMENTATION_ALLOWED
If none of these flags is set, GroupId has the special null value MQGI_NONE.
The definitions above are from MQSeries manuals. Refer Application Programming Reference for further information. |
|
Back to top |
|
 |
Lisa |
Posted: Tue Aug 13, 2002 8:13 am Post subject: Basic Definitions |
|
|
Master
Joined: 07 Jun 2002 Posts: 287 Location: NJ
|
Hi,
Take a look at the Application Programmers Reference book. Look under MQMD attributes. |
|
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
|
|
|
|