We are using MSMQ to store an object. The client application (which is asp.net UI) reads data from the queue. We have 2 cases which i think .Net MessageQueue does not support directly
Case 1: When the object is read from the queue. We need to do some processing on the object. If the processing fails (this will happen if the user closes the browser) then we loose the object since its already read from the queue and we have not completed the processing. Is there a way in MSMQ to specify on a certain event put the object back in the queue.
Case 2: When the object is read form the queue how can we mark the object as read without deleting it from the queue?
I have tried Message.BeginPeek which is not solving the issue.