I have the following configs in my IBM Liberty server.xml
:
<!-- resource adapter location -->
<variable name="wmqJmsClient.rar.location" value="${shared.resource.dir}/lib/global/wmq.jmsra-9.1.0.0.rar"/>
<!-- jmsActivationSpec configs -->
<jmsActivationSpec authDataRef="myAuthData" id="my-app-name/MyMessageDrivenBean">
<properties.wmqJms destinationRef="jms/MyQueue"
destinationType="javax.jms.Queue"
sslCipherSuite="SSL_RSA_WITH_AES_256_CBC_SHA256"
channel="MY.MQCHANNEL"
queueManager="MY_QM"
hostName="myhost" port="32100"
transportType="CLIENT" />
</jmsActivationSpec>
I also have a message-driven bean I am using to handle messages that appear on the queue. And everything works fine.
I'd like to migrate to open-liberty and keep my JMS stuff but their documentation is a little bit different even though the same config elements are there.
Some properties are missing and it's not clear how to replace them. No hostName
and port
, instead I found only remoteServerAddress
and it has to be a triplet host:port:something_i_dont_understand
so not sure it's exactly the same :)
How can I configure all this required stuff in open-liberty to make my message-driven bean work?
Any help is appreciated :)