|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How does queue manger generate time stamp in MsgId |
« View previous topic :: View next topic » |
Author |
Message
|
accosun |
Posted: Fri Dec 21, 2001 8:48 am Post subject: |
|
|
Apprentice
Joined: 20 Dec 2001 Posts: 45 Location: Moscow
|
Hello everybody!
We are going to built a transport system based on MQSeries and we are going to use MsgId-s for additional processing at application level. So, we need to know, how does queue manger generate the second 12-byte part of MsgId. We know, that it's a timestamp, but what is the algorytm of it's creation?
Thank you in advance, Alexander
|
|
Back to top |
|
 |
jhalstead |
Posted: Sun Dec 23, 2001 9:32 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
Alexander,
Can't be 100% sure as I can't find any explicit detail on the MQMD.MsgId field in the manuals. However as far as I know the first 12 bytes are the source queue manager name and the last 12 are effectively a counter which gets incremented with each new message. If you view the hex representation of the msgid either through MQExplorer or amqsbcg and put a few messages on at different intervals then this should be reasonably clear.
Thinking about it, as queue manager generated msgid's are meant to be unique it'd be quite complex to enforce a time stamp based schema when a big batch of messages placed on under syncpoint were committed.
Anyway, on holiday at the moment and don't have access to MQ (don't know how I'm going to survive!) so my apologies if this inaccurate...
Jamie |
|
Back to top |
|
 |
accosun |
Posted: Mon Dec 24, 2001 3:00 am Post subject: |
|
|
Apprentice
Joined: 20 Dec 2001 Posts: 45 Location: Moscow
|
Thanx a lot! I got the same ideas about MsgId-s numbers, but I was confused by manuals and my collegues's oppinion. Thank you again and Merry Chrstmas!
|
|
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
|
|
|
|