+

Search Tips   |   Advanced Search


Set message listener resources for message-driven beans >

Stopping a listener port


Use this task to stop a listener port on an application server, to prevent the listeners for message-driven beans associated with the port from retrieving messages.

A listener port defines the association between a connection factory, a destination, and a deployed message-driven bean. For more information, see Message-driven beans - listener port components.

If configured as enabled, a listener port is started automatically when a message-driven bean associated with that port is installed. However, we can also start or stop a listener port manually.

When you stop a listener port, the listener manager stops the listeners for all message-driven beans associated with the port.

 

  1. Start the admin console.

  2. In the navigation pane, click Servers > Server Types > WebSphere application servers > server_name > [Communications] Messaging > Message listener service > [Additional Properties] Listener Ports

    The Message listener port collection panel is displayed.

  3. Select the check box for the listener port that you want to stop.

  4. Click Stop.

  5. Save the changes to the master configuration.

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

 

Related concepts


Message-driven beans - listener port components

 

Related tasks


Starting a listener port
Migrate a listener port to an activation spec for use with the WebSphere MQ messaging provider
Administer listener ports