I have windows service which periodically create servicehost with msmq binding. I want to process all or defined number o messages from msmq and gracefully close the host. But i cant find simple solution when to close a host or how to detect empty queue and on what event. Thanks for answer.
Asked
Active
Viewed 36 times
1
-
Why do you not want it to run the whole time? – tom redfern Sep 06 '18 at 14:08