Author |
Message
|
omodarah |
Posted: Fri Mar 11, 2005 3:56 pm Post subject: MQ Message Timestamp Questions |
|
|
Apprentice
Joined: 09 Sep 2004 Posts: 26
|
Dear all,
Can you please answer the following for me?
1. When I recieve a message into my Queue, my message is Timestamped, is this Timestamp, the time the message was initially put on the sending Queue Managers queue?
2. If this is the case, does MQ proivde any mechanism for telling when the message actually arrived on my Local Queue?
3. If I put a message on a Queue Locally and the Sender Channel is down, how can I tell at what time the message actually left my Queue? or do I need to concentrate more on the time the Channel was restarted?
Thanks in advance and I hope I havent put my questions in the wrong place. |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Mar 12, 2005 5:02 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What requirement are you trying to meet with this information?
The reason I am asking is that there are probably a lot better ways to meet that requirement than using timestamps on messages.
Also, one of the big advantages of MQ is time independant processing. Sending applications does not need to know when the receiver gets the message, and receivers don't need to know when the sender sent the message Everything happens when it happens - and MQ makes sure that it will happen, but not when. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
omodarah |
Posted: Tue Mar 22, 2005 8:17 am Post subject: |
|
|
Apprentice
Joined: 09 Sep 2004 Posts: 26
|
Hi there,
Thanks for the response. The reason I am asking for this information is because I have a client who claims that he recieved a message with a Timestamp showing that it was delivered while the Qmngr was down, which should be impossible.
My repsonse was that the Timestamp shows the time the message was original placed on the sending queue and not the time it arrived. But I promised to verify my statement, which is why I asked the question here.
Thanks in advance. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Mar 22, 2005 8:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The time stamp on the message is labeled "Put Time". So, yes, it's the time the message was Put.
In the case of remote queues, the put time is the time the message was put on the transmit queue.
It's likely that your client didn't understand that PutTime is in GMT time, not in local time. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
omodarah |
Posted: Tue Mar 22, 2005 1:48 pm Post subject: |
|
|
Apprentice
Joined: 09 Sep 2004 Posts: 26
|
I believe your answer about the GMT Timestamp has solved the mistery. Thanks for your help. |
|
Back to top |
|
 |
malammik |
Posted: Tue Mar 22, 2005 4:09 pm Post subject: |
|
|
 Partisan
Joined: 27 Jan 2005 Posts: 397 Location: Philadelphia, PA
|
|
Back to top |
|
 |
|