如何实现用于 WAS 激活的自定义消息队列侦听器?

发布于 2024-09-15 19:30:37 字数 277 浏览 18 评论 0原文

我正在编写 .Net 4.0 Web 解决方案的组件(在 IIS7、WS2008 上),并且需要提供可以使用消息队列中的消息的服务。我找到了使用 MSMQ 配置 WAS 服务激活的设置示例...但我们没有使用 MSMQ(使用 RabbitMQ),而且我很确定我必须实现某种我自己的侦听器。

我想我的问题是我必须设置的配置设置系统非常不透明,并且文档不清楚。

所以 A:如何实现和配置用于 WAS 服务激活的自定义侦听器。

B:任何有关配置此设置其余部分的建议都会很棒。

谢谢

I'm writing components of a .Net 4.0 web solution (on IIS7, WS2008), and need to provide a service which can consume messages from a message queue. I've found setup examples for configuring WAS service activation using MSMQ... but we aren't using MSMQ (using RabbitMQ) and I'm pretty sure I'll have to implement some kind of listener of my own.

I guess my problem is the system of configuration settings I'll have to set up is pretty opaque, and documentation is not clear.

so A: how do I implement and configure a custom listener for WAS service activation.

and B: any advice for configuring the rest of this setup would be wonderful.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

乖乖 2024-09-22 19:30:37

更好地作为 Windows 服务来使用,这很痛苦。我们正在使用一个由 google 托管的名为 TopShelf 的开源项目。垃圾文档,但它有一个功能,可以自动运行放置在目录中的所有 DLL 文件作为 Windows 服务 - 使部署和升级变得容易。

better to consume as a windows service whih is a pain. We are using an opensource project called TopShelf hosted by google. Rubbish documentation but it has a feature where is will auto run all DLL files placed in a directory as windows services - make depoyment and upgrade easy.

夏雨凉 2024-09-22 19:30:37

在 WCF WF 示例中,有 UDP 激活器的源代码。希望有一个用于 AMQP 的。

In the WCF WF Samples there's source for a UDP Activator. Wish there was one for AMQP.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文