本文介绍了WCF和Websphere MQ的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要使用WCF服务与Websphere MQ 7.0.1进行交互,为此,我正在使用MQ的自定义通道.

我正在使用以下端点连接到MQ,

<端点地址="jms:/queue?destination=Test.REQUEST@DevMQ& amp; amp; connectionFactory =绑定(服务器)connectQueueManager(DevMQ)& amp; initialContextFactory = com.ibm.mq.jms.Nojndi& amp; replyDestination = Test"binding =" customBinding"bindingConfiguration =" CustomBinding_WMQ"name =" EndPoint_WMQ"contract =" IBMMQ_WCFTest.IWMQCalculatorContract"/>

Test.REQUEST =请求的本地队列
测试=响应的本地队列

我的WCF托管在安装了MQ服务器的同一服务器上.
我无法连接到队列管理器并放置/获取消息.
如果有人这样做,请与我分享代码.

谢谢

Hi,
I need to use the WCF service to interect with Websphere MQ 7.0.1 and for that , I am using the custom channel of MQ.

I am using the following endpoint to connect to MQ,

<endpoint address="jms:/queue?destination=Test.REQUEST@DevMQ&amp;connectionFactory=binding(server)connectQueueManager(DevMQ)&amp;initialContextFactory=com.ibm.mq.jms.Nojndi&amp;replyDestination=Test" binding="customBinding" bindingConfiguration="CustomBinding_WMQ" name="EndPoint_WMQ" contract="IBMMQ_WCFTest.IWMQCalculatorContract"/>

Test.REQUEST = local queue for request
Test = local queue for response

My WCF is hosted on the same server where the MQ server is installed.
I am not able to connect to queue manager and put/get message.
If someone has done this than please share the code with me.

Thanks

推荐答案


这篇关于WCF和Websphere MQ的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 12:27