Tibco Websphere MQ 适配器
我想了解有关 MQ 适配器的所有信息,从需要在我们的计算机上安装哪些产品来在本地配置和运行适配器、我们如何创建队列管理器并与队列管理器交互、配置开始。
I want to know all about the MQ adapter starting from what products are necessary to be installed on our machine for configuring and running the adapter locally,o how we create and interact with queue managers,configuration.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看 http://power.tibco.com/ 并搜索 KB 107430
以下是有关的说明如何让 BW 和 MQ 协同工作:
http://power.tibco.com/app/kb/article.jsp?aid=107430
1)必须安装WS MQ的Java组件(应该有一个jms.jar文件在 WS MQ 目录中)(请注意,这是 WS MQ 5.3 和 6.0 默认安装的一部分)
2)JNDI设置
- 创建以下目录:C:\tibco\JNDI-Directory - cd C:\IBM\MQ\Java\bin(其中 C:\IBM\MQ 是 WS MQ 安装的主目录)
- 编辑 JMSAdmin.config,以便: - INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory - PROVIDER_URL=file:/C:/TIBCO/JNDI-Directory
3) 使用以下内容编辑 JNDI 配置 jmsadmin.bat :
DEFINE QCF(QueueConnectionFactory)+ QMANAGER(MY_QMGR) (其中 MY_QMGR 是队列管理器的名称)
DEFINE Q(WMQ.MY_QUEUE)+(其中 MY_QUEUE 是队列的名称)
QMANAGER(MY_QMGR)+
队列(MY_QUEUE)+
TARGCLIENT(MQ)
理论上,应该对您想要从 BW 访问的所有队列重复此操作,但实际上只需一个队列就足够了。 - 用“DISPLAY CTX”检查
4) BW 配置 - 编辑 tibco\bw\5.3\bin\bwengine.tra 以便 tibco.env.CUSTOM_EXT_APPEND_CP 包含 C:/IBM/MQ/Java/lib - 编辑 tibco\designer\5.3\bin\designer.tra 以便tibco.env.CUSTOM_CP_EXT 包括 C:/IBM/MQ/Java/lib
Have a look to http://power.tibco.com/ and search for KB 107430
Here are the explanations on how to get BW and MQ working together :
http://power.tibco.com/app/kb/article.jsp?aid=107430
1) Java components of WS MQ must be installed (there should be a jms.jar file in the WS MQ directory) (note that this is part of default installation with WS MQ 5.3 and 6.0)
2) JNDI set-up
- Create the following directory: C:\tibco\JNDI-Directory - cd C:\IBM\MQ\Java\bin (where C:\IBM\MQ is the home directory for your WS MQ installation)
- Edit JMSAdmin.config so that: - INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory - PROVIDER_URL=file:/C:/TIBCO/JNDI-Directory
3) Edit JNDI configuration jmsadmin.bat with the following :
DEFINE QCF(QueueConnectionFactory)+ QMANAGER(MY_QMGR) (where MY_QMGR is the name of your queue manager)
DEFINE Q(WMQ.MY_QUEUE)+ (where MY_QUEUE is the name of your queue)
QMANAGER(MY_QMGR)+
QUEUE(MY_QUEUE)+
TARGCLIENT(MQ)
In theory this should be repeated for all the queues you want to access from BW but in practice only one queue is enough. - Check with 'DISPLAY CTX'
4) BW configuration - Edit tibco\bw\5.3\bin\bwengine.tra so that tibco.env.CUSTOM_EXT_APPEND_CP includes C:/IBM/MQ/Java/lib - Edit tibco\designer\5.3\bin\designer.tra so that tibco.env.CUSTOM_CP_EXT includes C:/IBM/MQ/Java/lib