Listener ports
Listener ports define the association between a connection factory, a destination, and a message-driven bean.
Note that if configured as enabled, a listener port is started automatically when a message-driven bean associated with that port is installed. You do not normally need to start or stop a listener port manually.
Each listener port is used with a message-driven bean to automatically receive messages from an associated JMS queue destination.
Messages put to MQ queues associated with a listener port will be automatically consumed. So, for example, if you put to MQ QUEUE1, and QUEUE1 is assocated with a listener port in the WAS administrative configuration, those messages will automatically be consumed by the listener port.
Adding a new listener port
- click through:
Servers -> Application Servers -> application_server -> Message Listener Service -> Listener Ports -> NewSpecify appropriate properties for the listener port.
- Click Save on the task bar of the Administrative console window.
- To have the changed configuration take effect, stop then restart the appserver.
If enabled, the listener port is started automatically when a message-driven bean associated with that port is installed.
Configure a listener port
Start a listener port
Stop a listener port
Configure message listener resources for message-driven beans
Administering listener ports
Listener port settings