开发者

Does WCF's netMsmqBinding requires any MSMQ package installation at the client side?

开发者 https://www.devze.com 2023-04-03 14:11 出处:网络
I\'d like to use WCF+MSMQ(netMsmqBinding) and I was wondering if I\'d need to install anything MSMQ related at the client side, other than my client application and the .NET framewo开发者_StackOverflo

I'd like to use WCF+MSMQ(netMsmqBinding) and I was wondering if I'd need to install anything MSMQ related at the client side, other than my client application and the .NET framewo开发者_StackOverflow社区rk of-course.


Yes you need MSMQ installed on both the service and the consumer sides.

Edit: just to embellish the answer - the reason you need MSMQ installed is that when you send a message to a queue on another machine, what is really happening is that you are sending a message to the queue manager on the senders machine, which is sending a message to the queue manager on the receivers machine, which is sending a message to the queue.

Each "send" is a single logical action and is what gives MSMQ durability.

0

精彩评论

暂无评论...
验证码 换一张
取 消