Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to know how long a message has stayed in a queue?

7 views
Skip to first unread message

eric young

unread,
Oct 4, 2010, 7:13:10 PM10/4/10
to
Is it possible to know how long a message has been in a queue, say, 1
hour? My purpose is to find out whether messages in a message queue
are processed too slow. Thanks.

Yoel Arnon

unread,
Oct 11, 2010, 4:23:04 AM10/11/10
to

You can look at Message.ArrivedTime property. This property indicates
the time at which the message was put in the queue. See
http://msdn.microsoft.com/en-us/library/system.messaging.message.arrivedtime.aspx
.

Hope that helps,
Yoel
www.msmq.biz

0 new messages