+

Search Tips   |   Advanced Search

Configure 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 properties used to configure the WebSphere MQ resource adapter used by the WebSphere MQ messaging provider:

These 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 console to complete the following steps:

  1. In the navigation pane, click Resources > JMS->JMS providers to display a list of JMS providers in the content pane.

  2. Optional: To manage JMS resources 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 defined at the same scope as the messaging provider and resource adapter on which they are set. So, for example, if 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.

  3. In the Providers column of the displayed list of JMS providers, click the name of the WebSphere MQ messaging provider 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 WebSphere 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 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.

    startupRetryCount

    The default number of times to try and connect a MDB on startup, if the WebSphere 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.


Subtopics


Related concepts

  • WebSphere MQ custom properties


    Related tasks

  • 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

  • Resource adapter properties
  • WebSphere MQ resource custom properties settings
  • Resource adapter properties
  • WebSphere MQ messaging provider activation specification settings