|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Using PutTime |
« View previous topic :: View next topic » |
Author |
Message
|
mqhelpless |
Posted: Wed Nov 09, 2005 8:03 pm Post subject: Using PutTime |
|
|
Apprentice
Joined: 13 Jul 2005 Posts: 33
|
I have the following problem, anyone with ideas please assist. Thanks.
External System A puts a message on Remote Q 'X'. Central System 'T' reads this message from its Local Q 'X'. System 'T' uses the PutTime in the message header and tries to do a "timer-countdown" in order to perform some actions when the time is up. However, the PutTime is based on the system-time of System A. Therefore, if 'A' and 'T' system time are not IN-SYNC, the countdown timer will not work properly. Can anyone suggest how I can overcome this issue? |
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Nov 09, 2005 11:36 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
mayby use the expiry time with report and full message data to get the expired messages to a specific queue, then perform your actions on that queue. because expired messages are removed only when they are tried to be read you must have a process that is looking for expired messages regularily.
otherwise you have to sync the timesomehow... _________________ Regards, Butcher |
|
Back to top |
|
 |
wschutz |
Posted: Thu Nov 10, 2005 2:44 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
You could put a really large, mutually agreed value in expiry (say 1,000,000 seconds). MQ will automatically decrement this value for you (while waiting to be transmitted, while on the channel, while waiting for you to get the message) and when you get the message
the value in expiry indicate how long its been since the message was put (ie, if its now 999,990 seconds, then it took 10.0 seconds).
MQ doesn't care if the clocks are in sync when computing expiry. _________________ -wayne |
|
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
|
|
|
|