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

Procedure

  1. On the Liberty 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 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 Habilitación de la mensajería JMS segura para Liberty.
  4. Optional: You can secure JMS communications by using SSL. For more information, see Protección de las comunicaciones JMS en Liberty mediante SSL.

    For a detailed information about secure communications, see Protección de comunicaciones con Liberty.

    The messaging engine is configured on the Liberty server.

Icono que indica el tipo de tema Tema de tarea



Icono de indicación de fecha y hora Última actualización: Tuesday, 6 December 2016
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=twlp_msg_multi_server
Nombre de archivo:twlp_msg_multi_server.html