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 » Reg Message ID and Correlation ID

Post new topic  Reply to topic
 Reg Message ID and Correlation ID « View previous topic :: View next topic » 
Author Message
Aarthi
PostPosted: Thu Jul 16, 2009 4:52 am    Post subject: Reg Message ID and Correlation ID Reply with quote

Newbie

Joined: 16 Jul 2009
Posts: 1

Hi,
I m working on SAP Middleware.
In one of our scenarios, a third party software will post Messsage to JMS- MQ Series Queue. The SAP Middleware will pick it and send to the Taget System.

Sometimes, the messages in JMS Queue get lost.

In one sap forum, i saw that, it might happen when correlation id is not unique.

I would like to know how this message id and correlation id are generated in MQ-Series. Can they be redundant.




please let me know how it happens in JMS Queue.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 16, 2009 11:25 am    Post subject: Re: Reg Message ID and Correlation ID Reply with quote

Grand High Poobah

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

Aarthi wrote:
I would like to know how this message id and correlation id are generated in MQ-Series. Can they be redundant.


They're generated by the queue manager (the content is described in the documentation) if requested to do so by the putting application (considered best practice).

Correlation id can be similarly generated, but is more commonly the message id of the message being correlated.

Messages are only "lost" from a JMS queue hosted on a WMQ queue manager if the message permits it. This has been discussed a lot on the forum.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Jul 16, 2009 4:27 pm    Post subject: Re: Reg Message ID and Correlation ID Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

Aarthi wrote:
Sometimes, the messages in JMS Queue get lost.


MQ doesn't lose messages, the failure is with the person, who doesn't understand why the message is not where they expect it to be.

Quote:
In one sap forum, i saw that, it might happen when correlation id is not unique.
I would like to know how this message id and correlation id are generated in MQ-Series. Can they be redundant.
please let me know how it happens in JMS Queue.


MsgId and CorrelId are free-format 24 byte binary fields. They play no role in MQ for "losing" messages. Although messages can appear to be "lost" if, unknowingly, an application gets them from MQ based on some criteria related to MsgId or CorrelId values.
_________________
Glenn
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 » Reg Message ID and Correlation ID
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.