Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 435
titou10 Avatar asked Sep 12 '18 20:09

titou10


1 Answers

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>

  ...
like image 84
njr Avatar answered Sep 29 '22 05:09

njr