WAS v8.5 > Administer applications and their environment > Welcome to administering Messaging resources > Manage messaging with the WebSphere MQ messaging providerConfigure properties for the WebSphere MQ resource adapter
We can configure the WebSphere MQ resource adapter properties that affect the connection pool, which is used by WebSphere MQ messaging provider activation specifications.
There are four properties used to configure the WebSphere MQ resource adapter used by the WebSphere MQ messaging provider:
- maxConnections
- connectionConcurrency (Setting this property only affects WAS 7 nodes. The property has no effect for WAS v8 or later nodes.)
- reconnectionRetryCount
- reconnectionRetryInterval
These four properties affect the connection pool, which is used by the WebSphere MQ messaging provider activation specifications. They do not affect the WebSphere MQ messaging provider queues, topics, or connection factories.
For further information about these properties, see Configuration of the ResourceAdapter object in the WebSphere MQ information center.
To configure the WebSphere MQ resource adapter properties, use the dmgr console to complete the following steps:
- In the navigation pane, click Resources > JMS->JMS providers to display a list of JMS providers in the content pane.
- Optional: To manage JMS resources that are defined at a different scope setting, change the Scope setting to the required level.
These properties only have an effect on the WebSphere MQ messaging provider objects that are defined at the same scope as the messaging provider and resource adapter on which they are set. So, for example, if you set the max connections property to a particular setting at the server scope, only the server scoped WebSphere MQ messaging provider activation specifications are affected by this setting.
- In the Providers column of the displayed list of JMS providers, click the name of the WebSphere MQ messaging provider to work with.
- In the content pane under Additional properties, click Resource adapter properties to view the configuration page for the properties.
- Specify the required values for the properties:
- Max connections
- Maximum number of connections to a WebSphere MQ queue manager.
- Connection concurrency
- Maximum number of message-driven beans that can be supplied by each connection. Setting this property only affects WAS 7 nodes. The property has no effect for WAS v8 or later nodes.
- Reconnection retry count
- Maximum number of attempts made by a WebSphere MQ messaging provider activation specification to reconnect to a WebSphere MQ queue manager if a connection fails.
- Reconnection retry interval
- The time, in milliseconds, that a WebSphere MQ messaging provider activation specification waits before making another attempt to reconnect to a WebSphere MQ queue manager.
- Click Apply. This defines the property to WAS, and enables you to browse or change additional properties.
- Save any changes to the master configuration.
- To have the changed configuration take effect, stop then restart the application server.
Subtopics
- Configure custom properties for the WebSphere MQ resource adapter
In addition to the standard properties that we can specify for the WebSphere MQ resource adapter, we can configure custom properties for WebSphere MQ resource adapter.
Related concepts:
WebSphere MQ custom properties
Related
Manage messages with message endpoints
Configure custom properties for WebSphere MQ messaging provider JMS resources
Configure an activation specification for the WebSphere MQ messaging provider
Reference:
Resource adapter properties
WebSphere MQ resource custom properties settings
Resource adapter properties
WebSphere MQ messaging provider activation specification settings