Configure a listener port
Use this task to browse or change the properties of an existing listener port, which is used by message-driven beans associated with the port to retrieve messages.
To use message-driven beans with a messaging provider that does not have a JCA Version 1.5 or 1.6 resource adapter, we cannot use activation specifications and therefore configure beans against a listener port. There are also a few scenarios in which, although we could use activation specifications, we might still choose to use listener ports. For example, for compatibility with existing message-driven bean applications.
A listener port defines the association between a connection factory, a destination, and a deployed message-driven bean. This association enables deployed message-driven beans associated with the port to retrieve messages from the destination. See Message-driven beans - listener port components.
When we deploy an enterprise application to use message-driven beans with listener ports, we can browse or change the configuration of a listener port.
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 name of the listener port to work with. This displays the properties of the listener port in the content pane.
- Optional: Change properties for the listener port, according to our needs.
- Click OK.
- Save changes to the master configuration.
- To have a changed configuration take effect, stop then restart the application server.
Related:
Message-driven beans - listener port components Create a new listener port Start a listener port Stop a listener port Delete a listener port Migrate a listener port to an activation specification for use with the IBM MQ messaging provider Deploy an enterprise application to use message-driven beans with listener ports Message listener port collection Listener port settings