WebSphere Application Server - Express, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Creating a new listener port

Use this task to create a new listener port for the message listener service, so that message-driven beans can be associated with the port to retrieve messages.

Why and when to perform this task

Although you can continue to deploy an EJB 2.0 message-driven bean against a listener port (as in WebSphere Application Server version 5), 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 want to deploy an enterprise application to use EJB 2.0 message-driven beans with listener ports, use this task to create a new listener port for a message-driven bean to retrieve messages from.

To create a new listener port, use the administrative console to complete the following steps:

Steps for this task

  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 application server.
    3. Under Communications, click Messaging > Message Listener Service.
    4. Click Listener Ports.
  2. Click New.
  3. Specify the following required properties:
    Name
    The name by which the listener port is known for administrative purposes.
    Connection factory JNDI name
    The JNDI name for the JMS connection factory to be used by the listener port; for example, jms/connFactory1
    Destination JNDI name
    The JNDI name for the destination to be used by the listener port; for example, jms/destn1.
  4. Optional: Change other properties for the listener port, according to your needs.
  5. Click OK.
  6. Save your changes to the master configuration.
  7. To have the changed configuration take effect, stop then restart the application server.

Result

If enabled, the listener port is started automatically when a message-driven bean associated with that port is installed.



Related tasks
Configuring a listener port
Starting a listener port
Stopping a listener port
Configuring message listener resources for message-driven beans
Administering listener ports

Related reference
Listener port settings

Task topic    

Terms of Use | Feedback

Last updated: Jun 8, 2005 12:45:23 PM EDT
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tmb_adm11.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)