This illustration shows the use case Specify a MessageListener to Receive a Message Asynchronously of the class MessageConsumer / Session in the JMS Operational Interface.

There are two ways to specify the Message Listener. You can:

  1. Specify the Message Listener at the Consumer (links to 16-33)
  2. Specify the message Listener at the Session (links to 16-34)