|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Does queue manager overwrites the already set msgid? |
« View previous topic :: View next topic » |
Author |
Message
|
mqxplorer |
Posted: Wed Nov 28, 2012 2:35 pm Post subject: Does queue manager overwrites the already set msgid? |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
Hi All,
As far as I understood MQ, queue manager generates a new message ID if the application puttibng the message into the queue is not assigning a message ID to it and it does not overwrite the messageID, if the put application already sets up one in MQMD..... Is that right?
Thanks
mqxplorer |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 28, 2012 7:06 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Depends on the settings you set. JMS always assigns a new messageId. For all other applications you can set a flag to assign a new messageId. Otherwise your observation should be right.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
kash3338 |
Posted: Fri Nov 30, 2012 7:59 pm Post subject: Re: Does queue manager overwrites the already set msgid? |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
mqxplorer wrote: |
As far as I understood MQ, queue manager generates a new message ID if the application puttibng the message into the queue is not assigning a message ID to it and it does not overwrite the messageID, if the put application already sets up one in MQMD..... Is that right?
|
MQ Infocenter says this,
Quote: |
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 when the message is put, and places it in the message descriptor sent with the message. |
Quote: |
The sending application can also specify a value for the message identifier other than MQMI_NONE; this stops the queue manager generating a unique message identifier. |
|
|
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
|
|
|
|