是否有“功能"?在Open Liberty中连接到IBM MQ,是否等同于Liberty Profile中的wmqJmsClient-2.0? [英] Is there a "feature" in Open Liberty to connect to IBM MQ, equivalent to wmqJmsClient-2.0 in Liberty Profile?

查看:166
本文介绍了是否有“功能"?在Open Liberty中连接到IBM MQ,是否等同于Liberty Profile中的wmqJmsClient-2.0?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IBM WebSphere Liberty Profile提供了"wmqJmsClient-2.0"IBM MQ交互的功能

Open Liberty是否具有等同功能?

Is there an equivalent for Open Liberty?

[已更新]

如果不是(看起来如此),如何将Open Liberty连接到IBM MQ?

If not (as it seems), how to connect Open Liberty to IBM MQ?

我是否应该基于IBM MQ官方RAR文件(当前为"9.1.0.0-IBM-MQ-Java-InstallRA.jar")开发与WLP中等效的Open Liberty功能"?

Should I develop an Open Liberty "feature" equivalent of the one available in WLP, based on the IBM MQ official RAR file (currently "9.1.0.0-IBM-MQ-Java-InstallRA.jar") ?

还是在Open Liberty中配置这种连接的通用"方法?

Or is there a "generic" way to configure such a connection in Open Liberty?

(我想这个问题是由其他队列管理器(例如ActiveMQArtemisOpenMQ等)引起的)

(I guess the question arises with other Queue Managers likeActiveMQ,Artemis,OpenMQ etc.)

推荐答案

OpenLiberty具有jms-2.0功能,该功能允许您配置提供JMS的JCA资源适配器,例如

OpenLiberty has the jms-2.0 feature, which allows you to configure a JCA resource adapter which provides JMS such as the WebSphere MQ resource adapter.

server.xml中的配置类似于以下内容,

Configuration in server.xml would be something like the following,

<server>
  <featureManager>
    <feature>jms-2.0</feature>
    <feature>jndi-1.0</feature>
    <feature>servlet-3.1</feature>
  </featureManager>

  <resourceAdapter id="wmqjmsra" location="C:/adapters/wmq/wmq.jmsra.rar"/>

  <jmsConnectionFactory jndiName="jms/cf1">
    <properties.wmqjmsra .../>
  </jmsConnectionFactory>

  ...

这篇关于是否有“功能"?在Open Liberty中连接到IBM MQ,是否等同于Liberty Profile中的wmqJmsClient-2.0?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆