Posted: Wed Jun 18, 2003 2:36 pm Post subject: Problems with JMS receive?
Centurion
Joined: 18 Dec 2001 Posts: 105 Location: Auburn, California
So, we're usung the JMS classes to do Pub/Sub. In our .java file we create the TopicSubscriber, which is successful.
We then periodically do a subscriber.receive(100) in a loop. Now, whilst I realize that polling like this is probably not the best, what we are seeing is the local system time drift, by a noticable amount.
If we change the code to do subscriber.receiveNoWait(), and "sleep" internally, we see no clock drift.
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