cannot load Java class javax.jms.DeliveryMode #21
Comments
Can you please give me an example of how to specify SSL options for connection using the above code? |
Any news on this ? |
Anyone have an example on how to use WebSphere MQ with SSL? Essentially JRuby JMS is a thin layer on top of and mixed into the existing Java JMS classes. If you can setup a Java program to talk to WebSphere MQ using SSL via JMS it should be relatively straight forward to supply the same values via JRuby JMS. |
I connected successfully to WebSphere MQ with SSL via JRuby JMS and pulled messages from replaying queue. Replace your credentials like HOST, QUEUE_MANAGER, CHANNEL etc and path to your keys.jks file. Here is my working JRuby class:
|
Did someone manage to get this working with the YAML configuration? |
I don't know why the error : cannot load Java class javax.jms.DeliveryMode occurs. |
It seems you also should include javax.jms-api-2.0.1.jar lib :require_jars: |
I'm connecting to WebSphere MQ. My code is
Here is the yml
I got the following error:
NameError: cannot load Java class javax.jms.DeliveryMode
Also I want to specify ssl cipher and key repository. How to setup SSL for wmq. I have the ssl key files.
The text was updated successfully, but these errors were encountered: