HP Integrity NonStop H-Series User Manual

Page 45

Advertising
background image

Continue with NSMQ installation.

Note down the LISTEN_HOST and LISTEN_PORT properties' values from the
<cluster_name>.rsp

in the <NSMQ-Installation-folder>/bin folder after cluster

creation where,

LISTEN_HOST is the value entered during cluster creation for the IP address on which
NSMQ must listen for connections.

LISTEN_PORT is the value entered during cluster creation for the port number on which
NSMQ must listen for connections.

Before starting the brokers, modify the activemq.xml file for all brokers within their
<broker_name>/conf/

folders as follows:

Edit the <transportConnector> element whose name attribute has a value
${nsmq.listenaddr}

.

Change the “uri” attribute value to ssl://<LISTEN_HOST>:<LISTEN_PORT>.

Save the file and start the broker.

Configuring the NSMQ-JMS clients:

Provide the JVM properties to the NSMQ-JMS client
-Djavax.net.ssl.trustStore=<full-path>/client.ts

-Djavax.net.ssl.trustStorePassword=<password>

Change the JMS-URL to ssl://<LISTEN_HOST>:<LISTEN_PORT>.

When the program is run with these options, clients can connect to the NSMQ broker and
perform JMS operations.

Secure Socket Layer

45

Advertising
This manual is related to the following products: