This illustration shows the use case Specifying a Message Listener of the class Session in the JMS Operational Interface.
The method used is setMessageListener, at the session.
setMessageListener,
To specify a Message Listener, you must specify a Message Listener.