Is there a “feature” in Open Liberty to connect to IBM MQ, equivalent to wmqJmsClient-2.0 in Liberty Profile?

巧了我就是萌 提交于 2019-12-07 18:19:52

问题


IBM WebSphere Liberty Profileprovides the"wmqJmsClient-2.0"feature to interact withIBM MQ

Is there an equivalent for Open Liberty?

[UPDATED]

If not (as it seems), how to connect Open Liberty to 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") ?

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

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


回答1:


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.

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>

  ...


来源:https://stackoverflow.com/questions/52303096/is-there-a-feature-in-open-liberty-to-connect-to-ibm-mq-equivalent-to-wmqjmsc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!