Receiving MSMQ messages with Windows Service

前端 未结 2 1404
时光取名叫无心
时光取名叫无心 2020-12-15 01:59

I\'m creating a Windows Service in C#.

What is the best way to listen for messages?? How do I code this properly??

2条回答
  •  情深已故
    2020-12-15 02:49

    You don't listen. You configure MSMQ Activation to activate your component when messages arrive. The link has all the details you need, code and configuration.

提交回复
热议问题