简体   繁体   English

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?

IBM WebSphere Liberty Profile provides the "wmqJmsClient-2.0" feature to interact with IBM MQ IBM WebSphere Liberty Profile提供了"wmqJmsClient-2.0"功能以与IBM MQ进行交互

Is there an equivalent for Open Liberty? Open Liberty有同等效力吗?

[UPDATED] [更新]

If not (as it seems), how to connect Open Liberty to IBM MQ? 如果不是(看起来如此),如何将Open Liberty连接到IBM MQ?

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" ) ? 我应该基于IBM MQ官方RAR文件(当前为"9.1.0.0-IBM-MQ-Java-InstallRA.jar" )开发一个与WLP中可用的"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? 或者是否有一种“通用”方式在Open Liberty中配置这样的连接?

(I guess the question arises with other Queue Managers like ActiveMQ , Artemis , OpenMQ etc.) (我想这个问题出现在其他队列管理器上,如ActiveMQArtemisOpenMQ等)

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 . OpenLiberty具有jms-2.0功能,允许您配置提供JMS的JCA资源适配器,例如WebSphere MQ资源适配器

Configuration in server.xml would be something like the following, server.xml中的配置类似于以下内容,

<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>

  ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM