Configuring properties for the IBM MQ resource adapter

You can configure the IBM MQ resource adapter properties that affect the connection pool, which is used by IBM MQ messaging provider activation specifications.

About this task

There are properties that are used to configure the IBM MQ resource adapter used by the IBM MQ messaging provider:
  • maxConnections
  • connectionConcurrency (Setting this property only affects WebSphere® Application Server 7 nodes. The property has no effect for WebSphere Application Server Version 8 or later nodes.)
  • reconnectionRetryCount
  • reconnectionRetryInterval
  • startupRetryCount
  • startupRetryInterval
These properties affect the connection pool, which is used by the IBM MQ messaging provider activation specifications. They do not affect the IBM MQ messaging provider queues, topics, or connection factories.

For further information about these properties, see Configuration of the ResourceAdapter object in the IBM MQ information center.

To configure the IBM MQ resource adapter properties, use the administrative console to complete the following steps:

Procedure

  1. In the navigation pane, click Resources > JMS->JMS providers to display a list of JMS providers in the content pane.
  2. Optional: If you want to manage JMS resources that are defined at a different scope setting, change the Scope setting to the required level.
    Note: These properties only have an effect on the IBM 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 IBM MQ messaging provider activation specifications are affected by this setting.
  3. In the Providers column of the displayed list of JMS providers, click the name of the IBM MQ messaging provider that you want to work with.
  4. In the content pane under Additional properties, click Resource adapter properties to view the configuration page for the properties.
  5. Specify the required values for the properties:
    Max connections
    The maximum number of connections to a IBM MQ queue manager.
    Connection concurrency
    The maximum number of message-driven beans that can be supplied by each connection. Setting this property only affects WebSphere Application Server 7 nodes. The property has no effect for WebSphere Application Server Version 8 or later nodes.
    Reconnection retry count
    The maximum number of attempts made by a IBM MQ messaging provider activation specification to reconnect to a IBM MQ queue manager if a connection fails.
    Reconnection retry interval
    The time, in milliseconds, that a IBM MQ messaging provider activation specification waits before making another attempt to reconnect to a IBM MQ queue manager.
    startupRetryCount
    The default number of times to try and connect a MDB on startup, if the IBM MQ queue manager is not running when the application server is started.
    startupRetryInterval
    The default sleep time between startup connection attempts (in milliseconds).
  6. Click Apply. This defines the property to WebSphere Application Server, and enables you to browse or change additional properties.
  7. Save any changes to the master configuration.
  8. To have the changed configuration take effect, stop then restart the application server.

Icon that indicates the type of topic Task topic



Timestamp icon Last updated: March 5, 2017 17:28
File name: tmm_wmqra_propconfig.html