Operating Systems: i5/OS
             Personalize the table of contents and search results

 

Administering listener ports and activation specifications for message-driven beans

 

Use these tasks to manage the listener ports and activation specifications used by message-driven beans (MDBs). These tasks are supplementary to the tasks of administering resource adapters, and JMS provider resources.

 

Overview

You use the WebSphere Application Server administrative console to configure the following resources for message-driven beans:

Listener port or activation specification?

WebSphere Application Server v6 supports the enhancements made to the EJB 2.1 and J2EE 1.4 specifications which allow any resource that has a JCA 1.5 adapter to trigger an MDB (formerly only JMS resources could trigger MDBs). WebSphere Application Server v5 and EJB 2.0 used the listener port which specified a JMS connection factory and a destination. This allowed a pool of MDB instances to connect to the messaging system and listen to the designated destination. EJB 2.1 specifies an additional requirement of an MDB working with a JCA adapter using an activation specification. If you are developing WebSphere Application Server v6 applications, you should consider the following questions:

Here are some guidelines to help you decide:

To summarize: in WebSphere Application Server v6, the decision on whether or not to use a listener port or an activation specification depends on the following scenarios:

If you have JMS API implementations that do not use JCA, WebSphere Application Server requires listener ports; if all JMS API implementations use JCA, listener ports are no longer required.

You can update the configuration data at any time, but some updates only take effect when the appropriate server is next started.

For additional information about administering support for message-driven beans, see the following topics:

 

Procedure




}
Configuring a J2C activation specification

Configuring a J2C administered object

Configuring message listener resources for message-driven beans

Important file for message-driven beans

 

Related tasks


Configuring a JMS activation specification for MDBs used by the default messaging provider
Deploying an enterprise application to use message-driven beans against JCA 1.5-compliant resources
Deploying an enterprise application to use EJB 2.0 message-driven beans with listener ports
Throttling inbound message flow for JCA 1.5 message-driven beans
Configuring MDB throttling for the default messaging provider