Support for automatic client reconnection in Java EE environments

Within Java EE environments, such as WebSphere Application Server, the IBM MQ resource adapter and the WebSphere Application Server IBM MQ messaging provider provide support for automatic client reconnection. However, in some cases, restrictions apply to this support.

The IBM MQ resource adapter that can be deployed into Java EE environments and the WebSphere Application Server IBM MQ messaging provider, use the IBM MQ classes for JMS to communicate with the IBM MQ queue managers.

The following table summarizes the support that the IBM MQ resource adapter and the WebSphere Application Server IBM MQ messaging provider provide support for automatic client reconnection.

Options for automatic reconnection CONNECTIONNAMELIST property CCDTURL property CLIENTRECONNECTOPTIONS property Alternative approach to automatic client reconnection
Activation specifications Supported with restrictions Supported with restrictions Not supported Java EE environment and activation specifications provide their own reconnection mechanism
WebSphere Application Server listener ports Supported with restrictions Supported with restrictions Not supported WebSphere Application Server provides its own reconnection mechanism
Enterprise JavaBeans and web-based applications Supported with restrictions Supported with restrictions Not supported Application must implement its own reconnection logic
Applications running inside client containers Supported Supported Supported Not applicable

Message-driven bean applications that are installed in a Java EE environment, such as IBM MQ classes for JMS, can use activation specifications to process messages on a IBM MQ system. Activation specifications are used to detect messages that arrive on a IBM MQ system and deliver them to message-driven beans for processing. Message-driven beans can also make more connections to IBM MQ systems from inside their onMessage() method. For more information about how these connections can use automatic client reconnection, see Enterprise JavaBeans and Web-based applications.

Parent topic: Use automatic client reconnection in Java EE environments