## Uses of Interface
javax.jms.MessageConsumer

Packages that use MessageConsumer
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 MessageConsumer in javax.jms

Subinterfaces of MessageConsumer in javax.jms
Modifier and Type | Interface and Description
--- | ---
`interface` | `QueueReceiver` A client uses a `QueueReceiver` object to receive messages that have been delivered to a queue.
`interface` | `TopicSubscriber` A client uses a `TopicSubscriber` object to receive messages that have been published to a topic.

Methods in javax.jms that return MessageConsumer
Modifier and Type | Method and Description
--- | ---
`MessageConsumer` | Session.`createConsumer(Destination destination)` Creates a `MessageConsumer` for the specified destination.
`MessageConsumer` | Session.`createConsumer(Destination destination, java.lang.String messageSelector)` Creates a `MessageConsumer` for the specified destination, using a message selector.
`MessageConsumer` | Session.`createConsumer(Destination destination, java.lang.String messageSelector, boolean NoLocal)` Creates `MessageConsumer` for the specified destination, using a message selector.