## Uses of Interface
javax.jms.MessageProducer

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

    Subinterfaces of MessageProducer in javax.jms
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `QueueSender` A client uses a `QueueSender` object to send messages to a queue.
    `interface` | `TopicPublisher` A client uses a `TopicPublisher` object to publish messages on a topic.

    Methods in javax.jms that return MessageProducer
    Modifier and Type | Method and Description
    --- | ---
    `MessageProducer` | Session.`createProducer(Destination destination)` Creates a `MessageProducer` to send messages to the specified destination.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.