Uses of Interface
javax.jms.Message

Packages that use Message
javax.jms   
 

Uses of Message in javax.jms
 

Subinterfaces of Message in javax.jms
 interface BytesMessage
          A BytesMessage is used to send a message containing a stream of uninterpreted bytes.
 interface MapMessage
          A MapMessage is used to send a set of name-value pairs where names are Strings and values are Java primitive types.
 interface ObjectMessage
          An ObjectMessage is used to send a message that contains a serializable Java object.
 interface StreamMessage
          A StreamMessage is used to send a stream of Java primitives.
 interface TextMessage
          A TextMessage is used to send a message containing a java.lang.String.
 

Methods in javax.jms that return Message
 Message QueueRequestor.request(Message message)
          Send a request and wait for a reply.
 Message TopicRequestor.request(Message message)
          Send a request and wait for a reply.
 Message Session.createMessage()
          Create a Message.
 Message MessageConsumer.receive()
          Receive the next message produced for this message consumer.
 Message MessageConsumer.receive(long timeout)
          Receive the next message that arrives within the specified timeout interval.
 Message MessageConsumer.receiveNoWait()
          Receive the next message if one is immediately available.
 

Methods in javax.jms with parameters of type Message
 Message QueueRequestor.request(Message message)
          Send a request and wait for a reply.
 Message TopicRequestor.request(Message message)
          Send a request and wait for a reply.
 void MessageListener.onMessage(Message message)
          Pass a message to the Listener.
 void TopicPublisher.publish(Message message)
          Publish a Message to the topic Use the topics default delivery mode, timeToLive and priority.
 void TopicPublisher.publish(Message message, int deliveryMode, int priority, long timeToLive)
          Publish a Message to the topic specifying delivery mode, priority and time to live to the topic.
 void TopicPublisher.publish(Topic topic, Message message)
          Publish a Message to a topic for an unidentified message producer.
 void TopicPublisher.publish(Topic topic, Message message, int deliveryMode, int priority, long timeToLive)
          Publish a Message to a topic for an unidentified message producer, specifying delivery mode, priority and time to live.
 void QueueSender.send(Message message)
          Send a message to the queue.
 void QueueSender.send(Message message, int deliveryMode, int priority, long timeToLive)
          Send a message specifying delivery mode, priority and time to live to the queue.
 void QueueSender.send(Queue queue, Message message)
          Send a message to a queue for an unidentified message producer.
 void QueueSender.send(Queue queue, Message message, int deliveryMode, int priority, long timeToLive)
          Send a message to a queue for an unidentified message producer, specifying delivery mode, priority and time to live.