G
Guest
Is there any way to create an event that notifies when a message is added to
a MessageQueue, without resorting to polling the MessageQueue?
I.e., suppose we have a MessageQueue with several messages still in queue.
My process wants to know when a new message (of any sort) is added to the
queue.
Right now I have a Timer invoking a refresh via GetAllMessages() to detect
new messages. There must be a better way!
a MessageQueue, without resorting to polling the MessageQueue?
I.e., suppose we have a MessageQueue with several messages still in queue.
My process wants to know when a new message (of any sort) is added to the
queue.
Right now I have a Timer invoking a refresh via GetAllMessages() to detect
new messages. There must be a better way!