## Uses of Interface
javax.jms.MessageListener

Packages that use MessageListener
Package | Description
--- | ---
javax.jms | The Java Message Service (JMS) API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.

### Uses of MessageListener in javax.jms

Methods in javax.jms that return MessageListener
Modifier and Type | Method and Description
--- | ---
`MessageListener` | Session.`getMessageListener()` Returns the session's distinguished message listener (optional).
`MessageListener` | MessageConsumer.`getMessageListener()` Gets the message consumer's `MessageListener`.

Methods in javax.jms with parameters of type MessageListener
Modifier and Type | Method and Description
--- | ---
`void` | Session.`setMessageListener(MessageListener listener)` Sets the session's distinguished message listener (optional).
`void` | MessageConsumer.`setMessageListener(MessageListener listener)` Sets the message consumer's `MessageListener`.