| Package | Description | 
|---|---|
| jakarta.jms | 
The Jakarta Messaging API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | QueueA  Queueobject encapsulates a provider-specific queue name. | 
| interface  | TemporaryQueueA  TemporaryQueueobject is a uniqueQueueobject created for the duration of aConnection. | 
| interface  | TemporaryTopicA  TemporaryTopicobject is a uniqueTopicobject created for the duration of aConnection. | 
| interface  | TopicA  Topicobject encapsulates a provider-specific topic name. | 
| Modifier and Type | Method and Description | 
|---|---|
| Destination | MessageProducer. getDestination()Gets the destination associated with this  MessageProducer. | 
| Destination | Message. getJMSDestination()Gets the  Destinationobject for this message. | 
| Destination | Message. getJMSReplyTo()Gets the  Destinationobject to which a reply to this message should be sent. | 
| Destination | JMSProducer. getJMSReplyTo()Returns the  JMSReplyToheader value that has been set on thisJMSProducer. | 
| Modifier and Type | Method and Description | 
|---|---|
| ConnectionConsumer | Connection. createConnectionConsumer(Destination destination,
                        String messageSelector,
                        ServerSessionPool sessionPool,
                        int maxMessages)Creates a connection consumer for this connection (optional operation) on the specific destination. | 
| MessageConsumer | Session. createConsumer(Destination destination)Creates a  MessageConsumerfor the specified destination. | 
| JMSConsumer | JMSContext. createConsumer(Destination destination)Creates a  JMSConsumerfor the specified destination. | 
| MessageConsumer | Session. createConsumer(Destination destination,
              String messageSelector)Creates a  MessageConsumerfor the specified destination, using a message selector. | 
| JMSConsumer | JMSContext. createConsumer(Destination destination,
              String messageSelector)Creates a  JMSConsumerfor the specified destination, using a message selector. | 
| MessageConsumer | Session. createConsumer(Destination destination,
              String messageSelector,
              boolean noLocal)Creates a  MessageConsumerfor the specified destination, specifying a message selector and thenoLocalparameter. | 
| JMSConsumer | JMSContext. createConsumer(Destination destination,
              String messageSelector,
              boolean noLocal)Creates a  JMSConsumerfor the specified destination, specifying a message selector and thenoLocalparameter. | 
| MessageProducer | Session. createProducer(Destination destination)Creates a  MessageProducerto send messages to the specified destination. | 
| JMSProducer | JMSProducer. send(Destination destination,
    byte[] body)Send a  BytesMessagewith the specified body to the specified destination, using any send options, message
 properties and message headers that have been defined on thisJMSProducer. | 
| JMSProducer | JMSProducer. send(Destination destination,
    Map<String,Object> body)Send a  MapMessagewith the specified body to the specified destination, using any send options, message
 properties and message headers that have been defined on thisJMSProducer. | 
| void | MessageProducer. send(Destination destination,
    Message message)Sends a message to a destination for an unidentified message producer using the  MessageProducer's default
 delivery mode, priority, and time to live. | 
| JMSProducer | JMSProducer. send(Destination destination,
    Message message)Sends a message to the specified destination, using any send options, message properties and message headers that
 have been defined on this  JMSProducer. | 
| void | MessageProducer. send(Destination destination,
    Message message,
    CompletionListener completionListener)Sends a message to a destination for an unidentified message producer, using the  MessageProducer's default
 delivery mode, priority, and time to live, performing part of the work involved in sending the message in a separate
 thread and notifying the specified CompletionListener when the operation has completed. | 
| void | MessageProducer. send(Destination destination,
    Message message,
    int deliveryMode,
    int priority,
    long timeToLive)Sends a message to a destination for an unidentified message producer, specifying delivery mode, priority and time to
 live. | 
| void | MessageProducer. send(Destination destination,
    Message message,
    int deliveryMode,
    int priority,
    long timeToLive,
    CompletionListener completionListener)Sends a message to a destination for an unidentified message producer, specifying delivery mode, priority and time to
 live, performing part of the work involved in sending the message in a separate thread and notifying the specified
 CompletionListener when the operation has completed. | 
| JMSProducer | JMSProducer. send(Destination destination,
    Serializable body)Send an  ObjectMessagewith the specified body to the specified destination, using any send options, message
 properties and message headers that have been defined on thisJMSProducer. | 
| JMSProducer | JMSProducer. send(Destination destination,
    String body)Send a  TextMessagewith the specified body to the specified destination, using any send options, message
 properties and message headers that have been defined on thisJMSProducer. | 
| void | Message. setJMSDestination(Destination destination)Sets the  Destinationobject for this message. | 
| void | Message. setJMSReplyTo(Destination replyTo)Sets the  Destinationobject to which a reply to this message should be sent. | 
| JMSProducer | JMSProducer. setJMSReplyTo(Destination replyTo)Specifies that messages sent using this  JMSProducerwill have theirJMSReplyToheader value set to
 the specifiedDestinationobject. | 
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.