I have a Flex application which shows an assessment to a candidate. At the end of the assessment, the asp.NET application sends the session (of the candidate) id to a queue. A Windows Service on another machine handles the queue and performs some jobs.
Now, if for some reason msmq is down, then the session id will not be sent to the queue and an exception will be thrown. I can catch it, but what to do then?
- Store these session ids in a table in database (easy to write some logic that retries sending those messages to the queue)
- Just log an error (hard to retry all failed messages afterwards - would need to read in the log)
!Msmq is not used for service requests from Flex, so the application will keep on running, even if msmq is down.