WAS v8.5 > Administer applications and their environment > Welcome to administering Messaging resources > Manage messaging with the WebSphere MQ messaging provider

Disable WebSphere MQ functionality in WAS

If we do not need to use WebSphere MQ functionality in an application server we can disable it using either the dmgr console or an administrative command. We can also disable WebSphere MQ functionality in a client process by specifying a custom property. When a WAS process or an application client process starts, and while this process is running, an amount of processing is performed to allow it to support WebSphere MQ-related functionality such as the WebSphere MQ messaging provider. By default this processing is performed regardless of whether any WebSphere MQ-related functionality is ever used. If we do not need to take advantage of any WebSphere MQ functionality, it is possible to disable all WebSphere MQ functionality in an application server or client process to give increased performance.

Disabling WebSphere MQ functionality in a WAS process has the following effects:

Disabling WebSphere MQ functionality in a WAS client process has the following effects:


Example

Consider the following example: A network deployment configuration with two nodes: node1 and node2. Node1 has two servers on it, server1 and server2. Node2 has a single server on it, server3. Server3 and server1 are part of a cluster, cluster1. The WebSphere MQ messaging provider panel at cluster1 scope has the WebSphere MQ disabled check box selected and the changes saved. When cluster1 has been restarted, all WebSphere MQ functionality is disabled on server3 and server1.

It is worth noting that it is possible to have WebSphere MQ functionality disabled on all processes in a network deployment configuration without all scopes having WebSphere MQ functionality disabled. Using the scenario in the previous example, if all nodes in the topology (deployment manager node, node1 and node2) have WebSphere MQ functionality disabled, then all the processes in the topology also have WebSphere MQ functionality disabled.

When the server starts, it is possible to detect whether WebSphere MQ functionality has been disabled on that server because messages with the following ids are output:


Related


Manage messaging with the WebSphere MQ messaging provider
Configure custom properties for the WebSphere MQ resource adapter


Reference:

JMS provider settings


Related information:

WebSphere MQ servers [Collection]
WebSphere MQ server [Settings]
WebSphere MQ client links [Collection]
Foreign bus connections [Collection]
WebSphere MQ links [Collection]


+

Search Tips   |   Advanced Search