I need to write an application (not a sevrice or web service) that consumes messages from an MSMQ 4.0 queue and want to make use of 4.0's features such as poison message handling. I see a lot of examples of WCF Services to consume messages from MSMQ queues, for example http://www.devx.com/enterprise/Article/39015, is this the sort of thing I need to be doing or is there a different way of handling MSMQ queues in applications?
A:
There is also a .Net library, a COM lbrary and a win32 library.
Lars Truijens
2009-07-16 10:54:07
Thanks Lars. I've looked at the .Net library (since I'm using C#) but I couldn't see any way to configure or activate posion messaging handling or how to redirect messages to a dead letter queue short of pulling them off and posting them to it in my own app. Any ideas on that?
Nick Thomson
2009-07-16 11:02:02
A:
here is some documentation and sample on Poison Message Handling in MSMQ 4.0 . I don't think that there is a major difference in this case, if you are creating a desktop application and not a service.
Igal Serban
2009-07-17 21:33:56