+

Search Tips   |   Advanced Search


Deploying an enterprise application to use EJB 2.0 message-driven beans with listener ports >

 

Configure a listener port

 

Use this task to browse or change the properties of an existing listener port, used by message-driven beans associated with the port to retrieve messages.

 

Overview

Although you can continue to deploy an EJB 2.0 message-driven bean against a listener port (as in WAS V5), you are recommended to deploy such beans as JCA 1.5-compliant resources and to upgrade them to be EJB 2.1 message-driven beans.

If you have deployed an enterprise application to use EJB 2.0 message-driven beans with listener ports, use this task to browse or change the configuration of a listener port that a message-driven bean retrieves messages from.

To configure the properties of a listener port, use the console to complete the following steps:

 

Procedure

  1. Display the collection list of listener ports:

    1. In the navigation pane, select Servers > Application Servers.

    2. In the content pane, click the name of the appserver.

    3. Under Communications, click Messaging > Message Listener Service.

    4. Click Listener Ports.

  2. Click the name of the listener port to work with. This displays the properties of the listener port in the content pane.

     

  3. Optional: Change properties for the listener port, according to your needs.

  4. Click OK.

  5. Save any changes to the master configuration.

  6. To have a changed configuration take effect, stop then restart the appserver.


 

Related tasks


Creating a new listener port
Start a listener port
Stopping a listener port
Configure message listener resources for message-driven beansAdministering listener ports

 

Related Reference

Listener port settings