Connecting to multi-instance queue managers by using CCDTs

Automatic client reconnection can be used by IBM® MQ classes for JMS applications that connect to a multi-instance queue manager.

If the queue manager instance that an application is using becomes unavailable, the IBM MQ classes for JMS can automatically try to connect to the standby instance on behalf of the application. The application blocks while the automatic client reconnection is taking place, and resumes when the IBM MQ classes for JMS establishes a connection to the standby queue manager.

To enable automatic client reconnection for a multi-instance queue manager, set the following properties on the Connection Factory that is used by the IBM MQ classes for JMS application:

QMANAGER=The name of the multi-instance queue manager.

CCDTURL=URI

The URI for a client channel definition table that contains two entries for the multi-instance queue manager; one for the primary instance and one for the stand-by instance.