GET a MSMQ-WCF Service to stop listening
I have a project coming up, where I am having a problem on how solve an issue. The project will have about 15/16 wcf services wired up to msmq. But 3 times a month for a period of 3 days, no updates can be done to the database. The ideal architecture I am looking for is somehow for the messages to hit the queue on the server, but the services to not process any of the messages while this 3 days is in force, so I'd like the messages stay in queue till after the 3 days is over, then all messages can start being processed again. Is there anything in WCF which can give me this ability. One suggestion I have had is to use a scheduled task, but this will be very difficult to manage as the times this happens can vary from month to month.
Any possible solutions would be gratifyingly received.
|