具有优先级的 WCF 端点

标签 wcf endpoint

<分区>

我需要具有 3 个端点的 WCF 服务

  1. 正常

大部分消息将通过普通端点和低端点发送。 如果出现 Message on High,则必须尽快处理。

有人知道怎么做吗???

最佳答案

您应该看看 MSDN 杂志中 Michele Leroux Bustamante 的这个由两部分组成的精彩系列:

Building a WCF Router, Part 1Building a WCF Router, Part 2

您可能会对第 1 部分特别感兴趣:

Sometimes it is useful to introduce an intermediary or router service between a client and a target service to receive messages that flow between them and perform additional activities such as logging, priority routing, online/offline routing, load balancing, or to introduce a security boundary. When such an intermediate service is introduced, it becomes necessary to tweak some addressing and message filtering behaviors to accommodate.

[我强调了]

她还有相关的source code在她身上可用blog .

关于具有优先级的 WCF 端点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/183530/

相关文章:

c - 传输端点未连接 bluez

c# - WCF - 已知类型的对象 -> 可互操作?

reactjs - 如何在我的网站路径上防止广告拦截器?

ios - GCDWebserver 监听 HTTP POST

c# - WCF:序列化和反序列化泛型集合

java - 如何在 Restful Web 服务中发送 XML 文件端点 url

endpoint - Wireguard 配置文件中的 Endpoint 和 AllowedIPs 字段有什么区别?

c# - 如何在 2 个 .Net 应用程序之间交换对象

c# - 服务引用问题

c# - 如何避免替换 "_x0020_"的空间?