javax.jms
Interface QueueSender

All Superinterfaces:
MessageProducer
All Known Implementing Classes:
QueueSenderImpl

public interface QueueSender
extends MessageProducer

The main destination.


Method Summary
 Queue getQueue()
           
 void send(Message message)
           
 void send(Message message, int deliveryMode, int priority, long timeToLive)
           
 void send(Queue queue, Message message)
           
 void send(Queue queue, Message message, int deliveryMode, int priority, long timeToLive)
           
 
Methods inherited from interface javax.jms.MessageProducer
close, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive
 

Method Detail

getQueue

Queue getQueue()
               throws JMSException
Throws:
JMSException

send

void send(Message message)
          throws JMSException
Specified by:
send in interface MessageProducer
Throws:
JMSException

send

void send(Message message,
          int deliveryMode,
          int priority,
          long timeToLive)
          throws JMSException
Specified by:
send in interface MessageProducer
Throws:
JMSException

send

void send(Queue queue,
          Message message)
          throws JMSException
Throws:
JMSException

send

void send(Queue queue,
          Message message,
          int deliveryMode,
          int priority,
          long timeToLive)
          throws JMSException
Throws:
JMSException