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 » WebSphere Message Broker (ACE) Support » Using PutTime

Post new topic  Reply to topic
 Using PutTime « View previous topic :: View next topic » 
Author Message
mqhelpless
PostPosted: Wed Nov 09, 2005 8:03 pm    Post subject: Using PutTime Reply with quote

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
View user's profile Send private message
Mr Butcher
PostPosted: Wed Nov 09, 2005 11:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Thu Nov 10, 2005 2:44 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Using PutTime
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.