使用WCF服务收听新排队的消息 [英] Listening to new enqueued messages using WCF Service

查看:91
本文介绍了使用WCF服务收听新排队的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的消息队列由IBM WebSphere MQ管理,我希望能够使用WCF服务来侦听新的排队消息.

My message-queue is managed by IBM WebSphere MQ and I would like to be able to listen for new enqueued messages using a WCF service.

每条新消息均应使用新消息作为参数来触发对我的服务的呼叫.

Each new message should trigger a call to my service with the new message as a parameter.

您知道如何创建和托管此类服务吗?

Do you know any way about how to create such a service and host it?

推荐答案

如果使用的是WebSphere MQ v701或更高版本,则可以将WebSphere MQ自定义渠道用于WCF.使用自定义渠道,您可以构建和托管服务.您可以找到更多详细信息和样本这里

If you are using WebSphere MQ v701 or above, then you can use the WebSphere MQ Custom channel for WCF. Using the custom channel you can build and host services. You can find more details and samples here

WMQ基于WCF的服务可以作为Windows服务或独立应用程序托管.它尚不能托管在IIS或Windows Application Fabric/WAS中.

WMQ WCF based service can be hosted as a Windows service or a standalone application. It does not yet have capability to be hosted in an IIS or Windows Application Fabric/WAS.

这篇关于使用WCF服务收听新排队的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆