Configure Java messaging client resources
To configure Java messaging client resources, we create new JMS provider configurations for the application client. The application client can use a messaging service through the Java Message Service APIs. A JMS provider provides two kinds of J2EE factories. One is a JMS connection factory, and the other is a JMS destination factory.
In a separate administrative task, install the Java Message Service (JMS) client on the client machine where the application client resides. The messaging product vendor must provide an implementation of the JMS client. For more information, see the messaging product documentation.
When completing this task, we can either create a new messaging provider, or we can use an existing one.
- Start the Application Client Resource Configuration Tool (ACRCT).
- Open the EAR file for which to configure the new JMS provider. The EAR file contents are in the displayed tree view.
- Select the JAR file in which to configure the new JMS provider from the tree.
- Expand the JAR file to view its contents.
- Optionally right-click Messaging Providers and select New, to create and use a new messaging provider.
- Configure the JMS provider properties in the resulting property dialog.
- Click OK.
- Click File > Save.
Subtopics
- Asynchronous messaging in WebSphere Application Server using JMS
WebSphere Application Server supports asynchronous messaging as a method of communication based on the Java Message Service (JMS) programming interface. The JMS interface provides a common way for Java programs (clients and Java EE applications) to create, send, receive, and read asynchronous requests as JMS messages.
- Java Message Service providers for clients
Client applications can use messaging resources from three main types of Java Message Service (JMS) providers in WebSphere Application Server: The WebSphere Application Server default messaging provider (which uses service integration as the provider), the WebSphere MQ messaging provider (which uses the WebSphere MQ system as the provider) and third-party messaging providers (which use another company's product as the provider).
- Configure new JMS providers with the Application Client Resource Configuration Tool
We can create new Java Message Service (JMS) provider configurations for the Application Client. The Application Client makes use of a messaging service through the JMS interfaces.
- JMS provider settings for application clients
Use this page to configure properties of the Java Message Service (JMS) provider, to use a JMS provider other than the default messaging provider or the WebSphere MQ as a JMS provider.
- Default Provider connection factory settings
Use this panel to view or change the configuration properties of the selected JMS connection factory for use with the internal product Java Message Service (JMS) provider installed with WebSphere Application Server. These configuration properties control how connections are created between the JMS provider and the service integration bus that it uses
- Default Provider queue connection factory settings
Use this panel to view or change the configuration properties of the selected JMS queue connection factory for use with the internal product Java Message Service (JMS) provider installed with WebSphere Application Server. These configuration properties control how connections are created between the JMS provider and the service integration bus that it uses
- Default Provider topic connection factory settings
Use this panel to view or change the configuration properties of the selected JMS topic connection factory for use with the internal product Java Message Service (JMS) provider installed with WebSphere Application Server. These configuration properties control how connections are created between the JMS provider and the service integration bus that it uses.
- Default Provider queue destination settings
Use this panel to view or change the configuration properties of the selected JMS queue destination for use with the internal product Java Message Service (JMS) provider installed with WebSphere Application Server.
- Default Provider topic destination settings
Use this panel to view or change the configuration properties of the selected JMS topic destination for use with the internal product Java Message Service (JMS) provider installed with WebSphere Application Server.
- WebSphere MQ Provider queue connection factory settings for application clients
Use this panel to view or change the configuration properties of the selected queue connection factory for use with the WebSphere MQ Java Message Service (JMS) provider. These configuration properties control how connections are created between the JMS provider and WebSphere MQ.
- WebSphere MQ Provider topic connection factory settings for application clients
Use this panel to view or change the configuration properties of the selected topic connection factory for use with the WebSphere MQ Java Message Service (JMS) provider. These configuration properties control how connections are created between the JMS provider and WebSphere MQ.
- WebSphere MQ Provider queue destination settings for application clients
Use this panel to view or change the configuration properties of the selected queue destination for use with the WebSphere MQ product Java Message Service (JMS) provider.
- (dist) WebSphere MQ Provider topic destination settings for application clients
Use this panel to view or change the configuration properties of the selected topic destination for use with the WebSphere MQ product Java Message Service (JMS) provider.
- (dist) Generic JMS connection factory settings for application clients
Use this panel to view or change the configuration properties of the selected Java Message Service (JMS) connection factory for use with the associated JMS provider. These configuration properties control how connections are created between the JMS provider and the messaging system that it uses.
- (dist) Generic JMS destination settings for application clients
Use this panel to view or change the configuration properties of the selected JMS destination for use with the associated JMS provider.
- Example: Configure JMS provider, JMS connection factory and JMS destination settings for application clients
We can configure JMS Provider, JMS Connection Factory and JMS Destination settings.
Related tasks
Use application clients
JMS provider settings JMS providers collection