|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Reg Message ID and Correlation ID |
« View previous topic :: View next topic » |
Author |
Message
|
Aarthi |
Posted: Thu Jul 16, 2009 4:52 am Post subject: Reg Message ID and Correlation ID |
|
|
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 |
|
 |
Vitor |
Posted: Thu Jul 16, 2009 11:25 am Post subject: Re: Reg Message ID and Correlation ID |
|
|
 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 |
|
 |
gbaddeley |
Posted: Thu Jul 16, 2009 4:27 pm Post subject: Re: Reg Message ID and Correlation ID |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|