Chapter 11. Configuring messaging providers 403
Destination JNDI name
Bus name
In this example, the activation specification name is SampleJMSAS, as shown in Figure 11-7.
Figure 11-7 Default messaging provider activation specification properties
You can configure other properties for this activation specification if needed. For detailed
information about other properties, refer to WebSphere Application Server V7 Messaging
Administration Guide, SG24-7770.
4. Click OK. The new activation specification is created.
5. Save the changes to the configuration.
11.3 Configuring resources for the WebSphere MQ messaging
provider
In this section, we explain how to configure the resources for the WebSphere MQ messaging
provider to communicate with WebSphere MQ using bindings or client connections.
404 WebSphere Application Server V8.5 Administration and Configuration Guide for the Full Profile
11.3.1 Configuring WebSphere MQ messaging provider connection factories
To configure a JMS connection factory for the WebSphere MQ messaging provider, complete
the following steps:
1. Click Resources JMS Connection factories. In the Connection factories window,
shown in Figure 11-1 on page 399, select the Scope (this sample uses Cell scope) and
then click New.
2. Select the WebSphere MQ messaging provider option and then click OK.
3. Enter the name for the connection factory and the JNDI name that binds it to the
namespace and then click Next (Figure 11-8).
Figure 11-8 WebSphere MQ messaging provider connection factory, basic attributes
4. Select the Enter all the required information into this wizard option and then click
Next.
For information about how to use a client channel definition table, refer to WebSphere
Application Server V7 Messaging Administration Guide, SG24-7770.
5. Specify the queue manager or queue sharing group name and then click Next
(Figure 11-9 on page 405).
Chapter 11. Configuring messaging providers 405
Figure 11-9 WebSphere MQ messaging provider connection factory, queue manager name
6. Choose the transport type, specify the host name and port properties of the WebSphere
MQ queue manager, and click Next, as shown in Figure 11-10. The port must match the
listener port that is defined for the queue manager, for example, 1424.
Figure 11-10 WebSphere MQ messaging provider connection factory, connection details
Important: WebSphere Application Server V8.5 supports connections to multi-instance
WebSphere MQ queue managers. To do this, you provide host and port information in
the form of a
connection name list, which a connection factory or activation specification
uses to connect to a multi-instance queue manager. If you are using multi-instance
WebSphere MQ queue managers, select Enter host and port information in the
form of a connection name list. For details about configuring connections to
multi-instance WebSphere MQ queue managers, refer to the following website:
http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/topic/com.ibm.websphere.expre
ss.doc/ae/umj_pasm.html
406 WebSphere Application Server V8.5 Administration and Configuration Guide for the Full Profile
7. Click Test connection to verify that you can connect to the WebSphere MQ queue
manager and then click Next.
8. In the Summary window, review the summary and then click Finish. The new connection
factory is created.
9. Save the changes to the configuration.
WebSphere Application Server V8.5 exposes the client reconnection properties for
connection factories. You can use this property to specify whether a client mode connection
reconnects automatically, in the event of a communications or queue manager failure, and
also to specify a timeout value for reconnection attempts.
You can find this property on the Advanced properties window of a defined WebSphere MQ
connection factory, as shown in Figure 11-11.
Figure 11-11 WebSphere MQ messaging provider connection factory, advanced properties
For information about other advanced properties, refer to the WebSphere Application Server
information center at the following website:
http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/topic/com.ibm.websphere.base.doc/ae
/umj_pjcfm_advprops.html
11.3.2 Configuring WebSphere MQ messaging provider destinations
You can configure both the queue and topic destinations for the WebSphere MQ messaging
provider. In this section, we introduce how to create and configure the WebSphere MQ queue
destination. For information about creating and configuring the WebSphere MQ topic
destination, refer to WebSphere Application Server V7 Messaging Administration Guide,
SG24-7770.
To configure a queue destination for the WebSphere MQ messaging provider:
1. Click Resources JMS Queues. In the Queues window, select the Scope (this
example uses Cell scope), and click New.
2. Select the WebSphere MQ messaging provider option and then click OK.
3. Enter the following basic properties:
–Name
JNDI name
Queue name

Get WebSphere Application Server V8.5 Administration and Configuration Guide for the Full Profile now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.