Listening to new enqueued messages using WCF Service

杀马特。学长 韩版系。学妹 提交于 2019-12-11 01:57:45

问题


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?


回答1:


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 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.



来源:https://stackoverflow.com/questions/16886928/listening-to-new-enqueued-messages-using-wcf-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!