I envisage peeking a queue to see the "next" message. I the attempt to process that message, if I fail I want to leave it in the queue, if it works (the processing) then I want to receive (remove) it and move one.
But there's no overload of Receive that takes either an existing message (obtained from a prior peek) or that takes a message ID.
Is this the wrong approach? is it better to introduce another queue "failed_to_process" in which messages are then simply received and if processed fine, if not sent to this other queue?
Any info appreciated, I'm just trying to establish some basic patterns etc for wholly internal organizational use and haven't used MSMQ much at all.
Thank You
I didn't find the right solution from the Internet.