W
William Ryan
I'm starting to play with MSMQ and have a really newbie question...
I can effectively write to my Queue with no problem. However, what event is
raised when something is added to the queue. Currently, I'm polling the
queue to see if it has anything in it and then processing accordingly. But
that seems like an awkward way to handle messages b/c I might interrogate
the queue x number of times when there's nothing in it. If I could just
wake up the client app when anything is added to the queue, it seems like
it'd be much better solution.
Is there a way to do this, namely, for the queue to send a notification that
something has been added or that it has stuff in it?
TIA,
Bill
--
Cordially,
W.G. Ryan
(e-mail address removed)
www.devbuzz.com
www.knowdotnet.com
I can effectively write to my Queue with no problem. However, what event is
raised when something is added to the queue. Currently, I'm polling the
queue to see if it has anything in it and then processing accordingly. But
that seems like an awkward way to handle messages b/c I might interrogate
the queue x number of times when there's nothing in it. If I could just
wake up the client app when anything is added to the queue, it seems like
it'd be much better solution.
Is there a way to do this, namely, for the queue to send a notification that
something has been added or that it has stuff in it?
TIA,
Bill
--
Cordially,
W.G. Ryan
(e-mail address removed)
www.devbuzz.com
www.knowdotnet.com