Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS Question

 
Patrick ODonnell
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm browsing a Queue with a QueueBrowser and was wondering is it possible to find out how long a message has been in the queue being browsed??
Any help appreciated.
Thanks,
Stephen.
 
Ragu Sivaraman
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
public long getJMSTimestamp()
throws JMSException
Gets the message timestamp.
The JMSTimestamp header field contains the time a message was handed off to a provider to be sent. It is not the time the message was actually transmitted, because the actual send may occur later due to transactions or other client-side queueing of messages
Ragu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!