+

Search Tips   |   Advanced Search

Configure properties for the IBM MQ resource adapter

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

There are properties used to configure the IBM MQ resource adapter used by the IBM MQ messaging provider:

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:


Tasks

  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 IBM 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 we 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 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 an 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 WAS 7 nodes. The property has no effect for WAS v8 or later nodes.

    Reconnection retry count

    The maximum number of attempts made by an IBM MQ messaging provider activation specification to reconnect to an IBM MQ queue manager if a connection fails.

    Reconnection retry interval

    The time, in milliseconds, an IBM MQ messaging provider activation specification waits before making another attempt to reconnect to an 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 WAS, and allows us 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:

  • IBM MQ custom properties
  • Manage messages with message endpoints
  • Configure custom properties for IBM MQ messaging provider JMS resources
  • Configure an activation specification for the IBM MQ messaging provider
  • Resource adapter properties
  • IBM MQ resource custom properties settings
  • Resource adapter properties
  • IBM MQ messaging provider activation specification settings