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 » WebSphere Message Broker (ACE) Support » Does queue manager overwrites the already set msgid?

Post new topic  Reply to topic
 Does queue manager overwrites the already set msgid? « View previous topic :: View next topic » 
Author Message
mqxplorer
PostPosted: Wed Nov 28, 2012 2:35 pm    Post subject: Does queue manager overwrites the already set msgid? Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 28, 2012 7:06 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kash3338
PostPosted: Fri Nov 30, 2012 7:59 pm    Post subject: Re: Does queue manager overwrites the already set msgid? Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Does queue manager overwrites the already set msgid?
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.