Deploying JMS applications to connect to the embedded messaging server
To deploy messaging applications that use the Java™
Messaging Service (JMS), you must add the wasJmsServer-1.0
and wasJmsClient-2.0
features to the
server.xml file, and define the connection factory and destination properties.
If you want to perform a JNDI lookup, then you must add the jndi-1.0
feature along
with the other two features.
Before you begin
Ensure that a Liberty server is created on which you want to deploy the messaging application that uses JMS. For more information, see Creating a Liberty server manually.
Important: The
wasJmsClient-2.0
feature supports the features of both JMS 1.1 and JMS 2.0 specifications. However, you can choose to use the wasJmsClient-1.1
feature if you want to use only the features that are compliant with JMS 1.1 specification.About this task
The wasJmsServer-1.0
feature
provides support for applications that use Java Messaging
Service 1.1 specifications.