Akash Agarwal

Akash Agarwal

  • NA
  • 13
  • 27.7k

WCF custom channel to communicate to Websphere MQ 7.0.1

Jun 20 2011 6:46 PM
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&connectionFactory=binding(server)connectQueueManager(DevMQ)&initialContextFactory=com.ibm.mq.jms.Nojndi&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