2
votes

I have a watcher process that detect some changes (for example in a filesystem) and pushes new messages into a queue. I have a unique way to identify each message.

I want to prevent publishing the same message twice and I don't want to keep any explicit state on this watcher.

I've read here that Azure Service Bus Queues support Duplicate Detection on the sender side, that is exactly what I'm looking for, but for MSMQ.

Is there a similar feature on MSMQ? If not, how can I support a similar feature on top of MSMQ.

1

1 Answers

0
votes

Have you tried approach described in Microsoft Message Queuing duplicate message removal mechanism, there are more info in John Breakwell's post

hope it would help you