Configure a JMS topic connection factory for WebSphere MQ
Use this task to browse or configure a JMS topic connection factory for publish/subscribe messaging with WebSphere MQ as a messaging provider. This task contains an optional step for you to create a new JMS topic connection factory.
Overview
With JMS 1.1, the preferred approach is to use unified JMS connection factories instead of the domain-specific JMS queue connection factory and JMS topic connection factory. To configure a unified JMS connection factory, see Configure a unified JMS connection factory, for WebSphere MQ.
To configure a topic connection factory for use with the WebSphere MQ as a messaging provider, use the console to complete the following steps:
Procedure
- Display the WebSphere MQ messaging provider. In the navigation pane, expand Resources > JMS > JMS Providers.
- Select the WebSphere MQ provider for which you want to configure a topic connection factory.
- Optional: Change the Scope setting to the level at which the connection factory is visible to applications.
- In the contents pane, under Additional Properties, click Topic connection factories This displays a table listing any existing JMS topic connection factories, with a summary of their properties.
- To browse or change an existing JMS topic connection factory, click its name in the list. Otherwise, to create a new connection factory, complete the following steps:
- Click New in the content pane.
- Specify the following required properties. You can specify other properties, as described in a later step.
- Name
- The name by which this destination is known for administrative purposes within IBM WAS.
- JNDI Name
- The JNDI name that is used to bind the destination into the name space.
- CCSID
- The coded character set identifier for use with the WebSphere MQ queue manager; for example: 850.
- Click Apply. This defines the destination to WAS, and enables you to browse or change additional properties.
- Optional: Change properties for the topic connection factory, according to your needs.
- Optional: Change connection pool properties and session pool properties, according to your needs.
- Click OK.
- Save any changes to the master configuration.
- To have the changed configuration take effect, stop then restart the appserver.
}
Related tasks
Configure a JMS topic destination for WebSphere MQ
Configure JMS resources for the WebSphere MQ messaging provider
Related Reference
WebSphere MQ topic connection factory settings