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. See Message-driven beans - listener port components.
If a message-driven bean fails to process a message several times, the listener port is automatically stopped by the application server. We can also stop a listener port manually. When a listener port is stopped, the listener manager stops the listeners for all message-driven beans associated with the port. Consequently, the associated message-driven beans can no longer process messages.
Tasks
- Start the administrative console.
- In the navigation pane, click...
Servers > Server Types > WebSphere application servers->server > [Communications] Messaging > Message listener service > [Additional Properties] Listener Ports > listener_port
The Message listener port collection panel is displayed.
- Select the check box for the listener port to stop.
- Click Stop.
- Save changes to the master configuration.
- To have the changed configuration take effect, stop then restart the application server.
Related:
Message-driven beans - listener port components Starting a listener port Migrate a listener port to an activation specification for use with the IBM MQ messaging provider Manage message listener resources for message-driven beans