开发者

IBM MQ JMS Message Listener

I want to use javax.jms.QueueConnectionFactory to connect to IBM MQ Is it possible to specify the queue manager and channel manager while connecting ?

I 开发者_运维百科want to avoid using com.ibm.mq.jms.MQQueueConnectionFactory. I am using JBoss 4.3


You need to generate a .bindings file and use com.sun.jndi.fscontext.RefFSContextFactory for getting initialcontext and then go on normally like any jms queue ...

Check this link http://ibswings.blogspot.com/2008/02/integrating-mq-broker-6-with-bea.html

to see how to generate .bindings file using JMSAdmin.

slight change to the process described in the link, if mq is hosted on different machine:

InitCtx> def qcf(com.bt.mq.QueueConnectionFactory) qmgr(queuemanager) host(ip) port(port) transport(client)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜