+

Search Tips   |   Advanced Search

WebSphere MQ messaging provider activation specifications

Activation specifications are used to configure inbound message delivery to message-driven beans (MDBs) running inside WebSphere Application Server. They supersede message listener ports, which are now a stabilized function.


Activation specifications and message-driven beans

Activation specifications are the standardized way to manage and configure the relationship between an MDB running in WebSphere Application Server and a destination withinWebSphere MQ. They combine the configuration of connectivity, the Java Message Service (JMS) destination and the runtime characteristics of the MDB, within a single object.

Message-driven beans are a special class of Enterprise Java Bean (EJB). They enable JEE (JEE) applications to process messages asynchronously, with WebSphere Application Server managing the transactionality and concurrency of the application.

The following figure shows how an activation specification can be used to link a WebSphere MQ queue manager destination to an MDB running within WebSphere Application Server. The process of delivering a message from a client to an MDB via an WebSphere MQ messaging provider activation specification occurs in this way:

Figure 1. WebSphere MQ messaging provider activation specification in action


Activation specifications compared with listener ports

Versions of WAS earlier than Version 7.0, use listener ports to define the association between a connection factory, a destination, and an MDB.

Activation specifications supersede the use of listener ports, which became a stabilized feature in WAS v7 (for more information, see Stabilized features). There are several advantages to using activation specifications over listener ports:

It is still possible to use message listener ports to deliver messages to an MDB using the WebSphere MQ messaging provider. There are certain scenarios in which the use of listener ports is still preferable to using activation specifications. This usually is the case with configurations in which some of the servers are running on versions of WAS earlier than WAS v7. It is possible to configure both message listener ports (which make use of WebSphere MQ messaging provider resources) and WebSphere MQ messaging provider activation specifications at the same time. For more information, see Message-driven beans, activation specifications, and listener ports.

To assist in migrating listener ports to activation specifications, the WAS console provides a Convert listener port to activation specification wizard on the Message listener port collection panel. This allows us to convert existing listener ports into activation specifications. However, this function only creates a new activation specification with the same configuration used by the listener port. It does not modify application deployments to use the newly created activation specification.


Related concepts

  • Message-driven beans, activation specifications, and listener ports


    Related tasks

  • Deploy an enterprise application to use message-driven beans with JCA 1.5-compliant resources
  • Migrate a listener port to an activation specification for use with the WebSphere MQ messaging provider
  • Configure an activation specification for the WebSphere MQ messaging provider
  • Create an activation specification for the WebSphere MQ messaging provider

  • WebSphere MQ messaging provider activation specification settings
  • Message listener port collection
  • WebSphere MQ messaging provider activation specification advanced properties