Fix Pack 8550

Configuring the server for enabling JMS messaging between multiple Liberty servers

To enable JMS messaging on multiple servers, you must configure the wasJmsServer-1.0 feature on a different Liberty profile server.

Procedure

  1. On the Liberty profile server that is hosting the messaging engine, enable the wasJmsServer-1.0 feature to initialize the messaging engine to accept the incoming requests.
    <featureManager>
    	<feature>wasJmsServer-1.0</feature>
    </featureManager>
    
    <messagingEngine>
        <queue id="libertyQ"/>
    </messagingEngine>
  2. Optional: Configure additional properties.
    The messaging engine listens on port 7276 (unsecured) and 7286 (secured) by default. If you want to bind the messaging engine to a different port, you must use the <wasJmsEndpoint> element.
    <featureManager>
    	<feature>wasJmsServer-1.0</feature>
    </featureManager>
    
    <wasJmsEndpoint id="InboundJmsCommsEndpoint" host="*" wasJmsPort="9011" wasJmsSSLPort="9100" />
    
    <messagingEngine>
    	<queue id="libertyQ"/>
    </messagingEngine>
    The <wasJmsEndpoint> element defines an inbound JMS communication endpoint, to which the JMS client applications can connect by using the <wasJmsPort> element if SSL is not being used, and by using the <wasJmsSSLPort> element if SSL is being used. The port number is the one that you specified in the <remoteAddressServer> property on the client.

    In the previous code example, the messaging engine listens on port 9011 (unsecured) and port 9100 (secured) for accepting the incoming requests.

  3. Optional: You can make the wasJmsServer-1.0 feature work in a secure mode. For more information, see Enabling secure JMS messaging for the Liberty profile.
  4. Optional: You can secure JMS communications by using SSL. For more information, see Securing JMS communications in the Liberty profile by using SSL.

    For a detailed information about secure communications, see Securing communications with the Liberty profile.

    The messaging engine is configured on the Liberty profile server.

Icon that indicates the type of topic Task topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Monday, 21 April 2014
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-express-iseries&topic=twlp_msg_multi_server
File name: twlp_msg_multi_server.html